You are here

function AggregateExceptionSpec::it_can_store_objectProphecy_link in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/AggregateExceptionSpec.php \spec\Prophecy\Exception\Prediction\AggregateExceptionSpec::it_can_store_objectProphecy_link()

Parameters

\Prophecy\Prophecy\ObjectProphecy $object:

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/AggregateExceptionSpec.php, line 23

Class

AggregateExceptionSpec

Namespace

spec\Prophecy\Exception\Prediction

Code

function it_can_store_objectProphecy_link($object) {
  $this
    ->setObjectProphecy($object);
  $this
    ->getObjectProphecy()
    ->shouldReturn($object);
}