コード例 #1
0
 /**
  * @return WrappingOutput
  */
 private function make_instance()
 {
     return new WrappingOutput($this->output->reveal());
 }
コード例 #2
0
 public function setUp()
 {
     $this->environment = $this->prophesize(EnvironmentInterface::class);
     $this->output = $this->prophesize(OutputInterface::class);
     $this->listener = new EnvironmentListener($this->environment->reveal(), $this->output->reveal());
 }
コード例 #3
0
 /**
  * @return PyramidWordsOutput
  */
 private function make_instance()
 {
     return new PyramidWordsOutput($this->output->reveal());
 }