1 package org.seasar.cubby.tags; 2 3 4 public class NullTagTest extends JspTagTestCase { 5 6 NullTag tag; 7 @Override 8 protected void setUp() throws Exception { 9 super.setUp(); 10 tag = new NullTag(); 11 setupSimpleTag(tag); 12 jspBody.setBody("Dummy Body Text"); 13 } 14 15 public void testDoTag() throws Exception { 16 tag.doTag(); 17 assertEquals("", context.getResult()); 18 } 19 }