ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.225.117.86 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/nicnAdmin/vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ |
Upload File : |
<?php namespace spec\Prophecy\Argument\Token; use PhpSpec\ObjectBehavior; use Prophecy\Argument\Token\TokenInterface; class LogicalNotTokenSpec extends ObjectBehavior { function let(TokenInterface $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(); } }