DefaultMultiPartManager implements MultiPartManager { @Override public Part getPart(WebApplication webApplication, WebApplicationRequest request, String name) throws ServletException { LOGGER.log(Level.FINE, "Getting part: {0} for request: {1}", new Object[]{name, request}); return null; }  @Override Collection<Part> getParts(WebApplication webApplication,
            WebApplicationRequest request); @Override Part getPart(WebApplication webApplication,
            WebApplicationRequest request, String name);  }
@Test void testGetPart() throws Exception { DefaultWebApplication webApplication = new DefaultWebApplication(); DefaultMultiPartManager manager = new DefaultMultiPartManager(); DefaultWebApplicationRequest request = new DefaultWebApplicationRequest() { }; request.setContentType("multipart/form-data; boundary=------------------------12345"); assertNull(manager.getPart(webApplication, request, "notfound")); }