spec\Prophecy\Argument\Token\LogicalNotTokenSpec::it_wraps_non_token_argument_into_ExactValueToken PHP Метод

it_wraps_non_token_argument_into_ExactValueToken() публичный Метод

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