MessagesPanelTag extends RequestContextAwareTag { public void setPanelElement(String panelElement) { this.panelElement = panelElement; }  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 testDoStartTagInternalPanelElementEmpty() throws Exception { request.setAttribute(ResultMessages.DEFAULT_MESSAGES_ATTRIBUTE_NAME, ResultMessages.info().add(ResultMessage.fromText("foo"))); tag.setPanelElement(""); int ret = tag.doStartTag(); String expected = "<ul><li>foo</li></ul>"; assertThat(getOutput(), is(expected)); assertThat(ret, is(TagSupport.EVAL_BODY_INCLUDE)); }