You are here

function IdenticalValueTokenSpec::it_generates_proper_string_representation_for_resource in Zircon Profile 8.0

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

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/IdenticalValueTokenSpec.php, line 135

Class

IdenticalValueTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

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