@Test public void testContentType() { MyResponse r = new MyResponse(c); r.setContentType("text/html"); assertEquals(r.getContentType(), "text/html"); }