You are here

function LogicalNotTokenSpec::it_has_simple_string_representation in Zircon Profile 8.0

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

File

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

Class

LogicalNotTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_has_simple_string_representation($token) {
  $token
    ->__toString()
    ->willReturn('value');
  $this
    ->__toString()
    ->shouldBe('not(value)');
}