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)');
}