You are here

function ExactValueTokenSpec::it_generates_proper_string_representation_for_resource in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ExactValueTokenSpec.php, line 119

Class

ExactValueTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_generates_proper_string_representation_for_resource() {
  $resource = fopen(__FILE__, 'r');
  $this
    ->beConstructedWith($resource);
  $this
    ->__toString()
    ->shouldReturn('exact(stream:' . $resource . ')');
}