function it_scores_5_if_argument_is_an_instance_of_specified_interface(TokenInterface $interface) { $this->beConstructedWith('Prophecy\\Argument\\Token\\TokenInterface'); $this->scoreArgument($interface)->shouldReturn(5); }