ActionMessageTag tag = new ActionMessageTag();
((InternalActionSupport)action).setHasActionMessage(false);
tag.setPageContext(pageContext);
tag.doStartTag();
tag.doEndTag();
verify(ActionMessageTagTest.class.getResource("actionmessage-1.txt"));
public void
testYesActionMessages()
ActionMessageTag tag = new ActionMessageTag();
((InternalActionSupport)action).setHasActionMessage(true);
tag.setPageContext(pageContext);
tag.doStartTag();
tag.doEndTag();
verify(ActionMessageTagTest.class.getResource("actionmessage-2.txt"));