   @Test
   public void should_not_apply_if_the_response_has_an_incompatible_mimeType() {

      response.setContentType("incompatible-content-type");
      HandlerContext handlerContext = new HandlerContext(context, request, response, null);
      assertThat(handler.isApplicable(handlerContext)).isFalse();
   }