You are here

function ArrayEntryTokenSpec::it_wraps_non_token_value_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_value_into_ExactValueToken()

Parameters

\Prophecy\Argument\Token\TokenInterface $key:

\stdClass $object:

File

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

Class

ArrayEntryTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_wraps_non_token_value_into_ExactValueToken($key, $object) {
  $this
    ->beConstructedWith($key, $object);
  $this
    ->getValue()
    ->shouldHaveType('\\Prophecy\\Argument\\Token\\ExactValueToken');
}