You are here

function ExactValueTokenSpec::it_scores_10_if_value_is_equal_to_argument in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ExactValueTokenSpec.php, line 29

Class

ExactValueTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_scores_10_if_value_is_equal_to_argument() {
  $this
    ->scoreArgument(42)
    ->shouldReturn(10);
  $this
    ->scoreArgument('42')
    ->shouldReturn(10);
}