You are here

function ObjectStateTokenSpec::it_scores_8_if_argument_object_has_specific_method_state in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ObjectStateTokenSpec.php \spec\Prophecy\Argument\Token\ObjectStateTokenSpec::it_scores_8_if_argument_object_has_specific_method_state()

Parameters

\ReflectionClass $reflection:

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ObjectStateTokenSpec.php, line 27

Class

ObjectStateTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

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