@Test public void testWithNullMessage() throws Exception { String code = "test.code"; tag.setCode(code); when(localization.getMessage(code)).thenReturn(null); renderTag(); verify(jspWriter).write("null"); }
public void setCode(String code) { this.code = code; }
MessageTag extends TagSupport implements DynamicAttributes { public void setCode(String code) { this.code = code; } }
MessageTag extends TagSupport implements DynamicAttributes { public void setCode(String code) { this.code = code; }  }
MessageTag extends TagSupport implements DynamicAttributes { public void setCode(String code) { this.code = code; }  @Override int doStartTag(); void setCode(String code); void setCount(int count); void setSelector(String selector); void setArguments(Object arguments); void setHtmlEscape(Boolean htmlEscape); @Override void setDynamicAttribute(String uri, String name, Object value); }
MessageTag extends TagSupport implements DynamicAttributes { public void setCode(String code) { this.code = code; }  @Override int doStartTag(); void setCode(String code); void setCount(int count); void setSelector(String selector); void setArguments(Object arguments); void setHtmlEscape(Boolean htmlEscape); @Override void setDynamicAttribute(String uri, String name, Object value);  }