You are here

function ProphetSpec::it_exposes_all_created_prophecies_through_getter in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/ProphetSpec.php, line 47

Class

ProphetSpec

Namespace

spec\Prophecy

Code

function it_exposes_all_created_prophecies_through_getter() {
  $prophecy1 = $this
    ->prophesize();
  $prophecy2 = $this
    ->prophesize();
  $this
    ->getProphecies()
    ->shouldReturn(array(
    $prophecy1,
    $prophecy2,
  ));
}