function LogicalNotTokenSpec::it_has_simple_string_representation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
spec\Prophecy\Argument\TokenCode
function it_has_simple_string_representation($token) {
$token
->__toString()
->willReturn('value');
$this
->__toString()
->shouldBe('not(value)');
}