コード例 #1
0
 @Test
 public void testContentType() {
   MyResponse r = new MyResponse(c);
   r.setContentType("text/html");
   assertEquals(r.getContentType(), "text/html");
 }