*/
public void testPrefixIsBoundary() throws IOException {
String text = "Line 1\r\n\r\n--boundaryyada\r\n";
ByteArrayInputStream bis = new ByteArrayInputStream(text.getBytes());
MimeBoundaryInputStream stream =
new MimeBoundaryInputStream(bis, "boundary");
assertEquals("Line 1\r\n", read(stream));
text = "--boundaryyada\r\n";
bis = new ByteArrayInputStream(text.getBytes());
stream =
new MimeBoundaryInputStream(bis, "boundary");
assertEquals(-1, stream.read());
}