### Question:
SlingServletView implements View { @Override public String getContentType() { return null; } SlingServletView(String resourceType, Servlet servlet); @Override String getContentType(); @Override void render(Map<String, ?> model, HttpServletRequest request, @Nonnull HttpServletResponse response);  }### Answer:
@Test public void testViewDoesNotDefineContentTypeInAdvance() { assertThat(this.testee.getContentType()).isNull(); }