spec\Prophecy\Argument\Token\LogicalAndTokenSpec::it_generates_string_representation_from_all_tokens_imploded PHP Метод

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

public it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface
    function it_generates_string_representation_from_all_tokens_imploded(TokenInterface $token1, TokenInterface $token2, TokenInterface $token3)
    {
        $token1->__toString()->willReturn('token_1');
        $token2->__toString()->willReturn('token_2');
        $token3->__toString()->willReturn('token_3');
        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->__toString()->shouldReturn('bool(token_1 AND token_2 AND token_3)');
    }