public void testCheckedWithError() throws Exception {
TestAction testAction = (TestAction) action;
testAction.setFoo("true");
testAction.addFieldError("foo", "Some Foo Error");
testAction.addFieldError("foo", "Another Foo Error");
CheckboxTag tag = new CheckboxTag();
tag.setPageContext(pageContext);
tag.setLabel("mylabel");
tag.setName("foo");