@Test(expected = IOException.class)
public void shouldThrowIOExceptionOnEndedBoundary()
        throws MalformedInputException, IOException {

    String data = "--123";
    MultipartRequestHandler mrh = new MultipartRequestHandler(PARSER, getStreamOutOfString(data),
            data.length() * 2, BOUNDARY, TEMPORARY_UPLOADS_DIRECTORY, 2048);
    mrh.handle();
}