You are here

function LogicalAndTokenSpec::it_wraps_non_token_arguments_into_ExactValueToken in Zircon Profile 8.0

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

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/LogicalAndTokenSpec.php, line 37

Class

LogicalAndTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_wraps_non_token_arguments_into_ExactValueToken() {
  $this
    ->beConstructedWith(array(
    15,
    '1985',
  ));
  $this
    ->__toString()
    ->shouldReturn("bool(exact(15) AND exact(\"1985\"))");
}