public it_scores_the_maximum_score_from_all_scores_returned_by_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2 ) | ||
$token1 | Prophecy\Argument\Token\TokenInterface | |
$token2 | Prophecy\Argument\Token\TokenInterface |
function it_scores_the_maximum_score_from_all_scores_returned_by_tokens(TokenInterface $token1, TokenInterface $token2)
{
$token1->scoreArgument(1)->willReturn(10);
$token2->scoreArgument(1)->willReturn(5);
$this->beConstructedWith(array($token1, $token2));
$this->scoreArgument(1)->shouldReturn(10);
}