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