MessagesPanelTag extends RequestContextAwareTag { public void setMessagesAttributeName(String messagesAttributeName) { this.messagesAttributeName = messagesAttributeName; }  void setMessagesAttributeName(String messagesAttributeName); void setPanelClassName(String panelClassName); void setPanelTypeClassPrefix(String panelTypeClassPrefix); void setPanelElement(String panelElement); void setOuterElement(String outerElement); void setInnerElement(String innerElement); void setMessagesType(String messagesType); void setDisableHtmlEscape(
            String disableHtmlEscape);  }
@Test public void test19() throws Exception { request.setAttribute("result", ResultMessages.error().add(ResultMessage .fromText("hello world!"))); tag.setMessagesAttributeName("result"); int ret = tag.doStartTag(); String expected = "<div class=\"alert alert-error\"><ul><li>hello world!</li></ul></div>"; assertThat(getOutput(), is(expected)); assertThat(ret, is(TagSupport.EVAL_BODY_INCLUDE)); }