public void testFielderrorComponentDisposeItselfFromComponentStack() throws Exception {
ActionErrorTag t = new ActionErrorTag();
t.setPageContext(pageContext);
try {
t.doStartTag();
FieldErrorTag tag = new FieldErrorTag();
tag.setPageContext(pageContext);
tag.doStartTag();
assertEquals(tag.getComponent().getComponentStack().peek(), tag.getComponent());
tag.doEndTag();