@Test void testGetParts() throws Exception { DefaultWebApplication webApplication = new DefaultWebApplication(); DefaultMultiPartManager manager = new DefaultMultiPartManager(); DefaultWebApplicationRequest request = new DefaultWebApplicationRequest() { }; request.setContentType("multipart/form-data; boundary=------------------------12345"); Collection<Part> result = manager.getParts(webApplication, request); assertTrue(result.isEmpty()); }
@Override public Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletException { LOGGER.log(Level.FINE, "Getting parts for request: {0}", request); return Collections.emptyList(); }
DefaultMultiPartManager implements MultiPartManager { @Override public Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletException { LOGGER.log(Level.FINE, "Getting parts for request: {0}", request); return Collections.emptyList(); } }
DefaultMultiPartManager implements MultiPartManager { @Override public Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletException { LOGGER.log(Level.FINE, "Getting parts for request: {0}", request); return Collections.emptyList(); }  }
DefaultMultiPartManager implements MultiPartManager { @Override public Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletException { LOGGER.log(Level.FINE, "Getting parts for request: {0}", request); return Collections.emptyList(); }  @Override Collection<Part> getParts(WebApplication webApplication,
            WebApplicationRequest request); @Override Part getPart(WebApplication webApplication,
            WebApplicationRequest request, String name); }
DefaultMultiPartManager implements MultiPartManager { @Override public Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletException { LOGGER.log(Level.FINE, "Getting parts for request: {0}", request); return Collections.emptyList(); }  @Override Collection<Part> getParts(WebApplication webApplication,
            WebApplicationRequest request); @Override Part getPart(WebApplication webApplication,
            WebApplicationRequest request, String name);  }