@Test
public void responseWithoutContentTypeHeaderShouldGetDefaultContentType() throws Exception
{
HttpResponse httpResponse = new HttpResponse();
httpResponse.removeHeaders(HttpConstants.HEADER_CONTENT_TYPE);
HttpServletResponse servletResponse = createServletResponseAndWriteResponse(httpResponse);
verify(servletResponse).setContentType(HttpConstants.DEFAULT_CONTENT_TYPE);
}