function it_read_the_pipe(Pipe $input) { $input->read()->shouldBeCalled(1); $input->read()->willReturn('the content'); $this->read()->shouldReturn('the content'); }
/** * {@inheritDoc} */ public function read() { return $this->reader->read(); }