You are here

function LogicalNotTokenSpec::it_wraps_non_token_argument_into_ExactValueToken in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/LogicalNotTokenSpec.php, line 34

Class

LogicalNotTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_wraps_non_token_argument_into_ExactValueToken() {
  $this
    ->beConstructedWith(5);
  $token = $this
    ->getOriginatingToken();
  $token
    ->shouldhaveType('Prophecy\\Argument\\Token\\ExactValueToken');
  $token
    ->getValue()
    ->shouldBe(5);
}