### Question:
SlingMultipartResolver implements MultipartResolver { @Override public boolean isMultipart(@Nonnull HttpServletRequest request) { return request != null && isMultipartContent(request); }  @Override boolean isMultipart(@Nonnull HttpServletRequest request); @Override @Nonnull MultipartHttpServletRequest resolveMultipart(@Nonnull HttpServletRequest request); @Override void cleanupMultipart(@Nonnull MultipartHttpServletRequest request);  }### Answer:
@Test public void testIsMultipartFalse() { withRequest("GET"); assertThat(testee.isMultipart(request)).isFalse(); }
@Test public void testIsMultipartTrue() { withRequest("POST"); withContentType("multipart/..."); assertThat(testee.isMultipart(request)).isTrue(); }