@Test public void testSaveCertification_InvalidDates() throws Exception { action.setCertification(certification); action.setEffectiveDate("12/2010"); action.setExpirationDate("11/2010"); assertEquals(ActionSupport.INPUT, action.saveCertification()); verifyZeroInteractions(mockProfileService); assertEquals( action.getText("error.expiration.date.before.effective"), action.getFieldErrors().get("expirationDate").get(0)); }