You are here

function ObjectProphecySpec::it_adds_interface_during_willImplement_call in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Prophecy/ObjectProphecySpec.php, line 33

Class

ObjectProphecySpec

Namespace

spec\Prophecy\Prophecy

Code

function it_adds_interface_during_willImplement_call($lazyDouble) {
  $lazyDouble
    ->addInterface('222')
    ->shouldBeCalled();
  $this
    ->willImplement('222');
}