/** * Tries to close a piped output stream that is already closed. * * @expectedException ZerusTech\Component\IO\Exception\IOException * @expectedExceptionMessage Already closed. */ public function testCloseOnClosedStream() { $input = new PipedInputStream(); $input->close(); $input->close(); }