// Writing another byte would cause the write to wait
// for a read before returning
for (int i = 0; i < 1024; i++) {
pout.write(i);
}
assertEquals("Incorrect available count", 1024, pin.available());
}
/**
* @tests java.io.PipedInputStream#close()
*/