function it_scores_8_if_argument_object_has_specific_method_state(\ReflectionClass $reflection) { $reflection->getName()->willReturn('stdClass'); $this->scoreArgument($reflection)->shouldReturn(8); }