### Question:
NoClosePipedInputStream extends InputStream { public void connect(NoClosePipedOutputStream src) throws IOException { src.connect(this); } NoClosePipedInputStream(NoClosePipedOutputStream src);  NoClosePipedInputStream(NoClosePipedOutputStream src, int pipeSize);  NoClosePipedInputStream();  NoClosePipedInputStream(int pipeSize); void connect(NoClosePipedOutputStream src); synchronized int read(); synchronized int read(byte b[], int off, int len); synchronized int available();  }### Answer:
@Test public void testNormalConnect() { try { in.connect(out); } catch (IOException e) { fail("IOException caught. This should not happen"); } }