function ArgumentsWildcardSpec::it_generates_string_representation_from_all_tokens_imploded in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Argument/ArgumentsWildcardSpec.php \spec\Prophecy\Argument\ArgumentsWildcardSpec::it_generates_string_representation_from_all_tokens_imploded()
Parameters
\Prophecy\Argument\Token\TokenInterface $token1:
\Prophecy\Argument\Token\TokenInterface $token2:
\Prophecy\Argument\Token\TokenInterface $token3:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Argument/ ArgumentsWildcardSpec.php, line 28
Class
Namespace
spec\Prophecy\ArgumentCode
function it_generates_string_representation_from_all_tokens_imploded($token1, $token2, $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('token_1, token_2, token_3');
}