MultipartConfigElement { public long getMaxFileSize() { return this.maxFileSize; } MultipartConfigElement(String location);  MultipartConfigElement(String location, long maxFileSize, long maxRequestSize, int fileSizeThreshold);  MultipartConfigElement(MultipartConfig annotation); int getFileSizeThreshold(); String getLocation(); long getMaxFileSize(); long getMaxRequestSize();  }
@Test void testGetMaxFileSize() { MultipartConfigElement element = new MultipartConfigElement("location", 1000, 0, 0); assertEquals(1000, element.getMaxFileSize()); }