You are here

function ArgumentsWildcardSpec::it_exposes_list_of_tokens in Zircon Profile 8

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

Parameters

\Prophecy\Argument\Token\TokenInterface $token:

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/ArgumentsWildcardSpec.php, line 41

Class

ArgumentsWildcardSpec

Namespace

spec\Prophecy\Argument

Code

function it_exposes_list_of_tokens($token) {
  $this
    ->beConstructedWith(array(
    $token,
  ));
  $this
    ->getTokens()
    ->shouldReturn(array(
    $token,
  ));
}