@Test(expected = UnsupportedOperationException.class)
  public void testSetOutputStreamRunning() {
    final InputOutputStreamPump p = new IOSP();
    p.run();

    final OutputStream out = new ClosedOutputStream();
    p.setOutputStream(out);
  }
 @Test
 public void testSetOutputStreamNotRunning() {
   final InputOutputStreamPump p = new InputOutputStreamPump();
   final OutputStream out = new ClosedOutputStream();
   p.setOutputStream(out);
 }