/** * @return WrappingOutput */ private function make_instance() { return new WrappingOutput($this->output->reveal()); }
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()); }
/** * @return PyramidWordsOutput */ private function make_instance() { return new PyramidWordsOutput($this->output->reveal()); }