You are here

function ArrayEntryTokenSpec::it_wraps_non_token_key_into_ExactValueToken in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php \spec\Prophecy\Argument\Token\ArrayEntryTokenSpec::it_wraps_non_token_key_into_ExactValueToken()

Parameters

\stdClass $object:

\Prophecy\Argument\Token\TokenInterface $value:

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php, line 57

Class

ArrayEntryTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_wraps_non_token_key_into_ExactValueToken($object, $value) {
  $this
    ->beConstructedWith($object, $value);
  $this
    ->getKey()
    ->shouldHaveType('\\Prophecy\\Argument\\Token\\ExactValueToken');
}