You are here

function MethodProphecySpec::it_links_back_to_ObjectProphecy_through_getter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Prophecy/MethodProphecySpec.php \spec\Prophecy\Prophecy\MethodProphecySpec::it_links_back_to_ObjectProphecy_through_getter()

File

vendor/phpspec/prophecy/spec/Prophecy/Prophecy/MethodProphecySpec.php, line 341

Class

MethodProphecySpec

Namespace

spec\Prophecy\Prophecy

Code

function it_links_back_to_ObjectProphecy_through_getter($objectProphecy) {
  $this
    ->getObjectProphecy()
    ->shouldReturn($objectProphecy);
}