@Test
public void testMultipleBodyResponses2() throws Exception {

PProtocol p = new IMAPProtocol(
 new StringBufferInputStream(response),
 new PrintStream(new ByteArrayOutputStream()),
 new Properties(),
 debug);
Y b = p.fetchBody(1, "1.1", 0, content.length(), null);
ertEquals("section number", "1.1", b.getSection());
ystem.out.println(b);
ystem.out.write(b.getByteArray().getNewBytes());
ing result = new String(b.getByteArray().getNewBytes(), "us-ascii");
ertEquals("getByteArray.getNewBytes", content, result);
utStream is = b.getByteArrayInputStream();
e[] ba = new byte[is.available()];
read(ba);
ult = new String(ba, "us-ascii");
ertEquals("getByteArrayInputStream", content, result);
}