### Question:
DefaultMultipartFormParser implements MultipartFormParser { public boolean isMultipartContent(HttpServletRequest request) { if (!"POST".equals(request.getMethod())) { return false; } String contentType = request.getContentType(); if (contentType == null) { return false; } return contentType.toLowerCase().startsWith(MULTIPART); }  Collection<FormDataItem> parse(HttpServletRequest servletRequest); boolean isMultipartContent(HttpServletRequest request);  }### Answer:
@Test public void testIsMultipartContent() { FakeHttpServletRequest request = new FakeHttpServletRequest(); request.setMethod("GET"); assertFalse(multipartFormParser.isMultipartContent(request)); request.setMethod("POST"); assertFalse(multipartFormParser.isMultipartContent(request)); request.setContentType("multipart/form-data"); assertTrue(multipartFormParser.isMultipartContent(request)); request.setMethod("GET"); assertFalse(multipartFormParser.isMultipartContent(request)); }