ActionForward forward = support.executeAction(action);
verify();
assertTrue("object not inserted", mockSession.saveCalled);
TimeEntry entry = (TimeEntry)mockSession.saveObject;
assertEquals("wrong start time", dateTimeFormat.parse(DATE_1a), entry.getStartTime());
assertEquals("wrong start time", dateTimeFormat.parse(DATE_2a), entry.getEndTime());
assertEquals("wrong report date", dateFormat.parse(DATE_1c), entry.getReportDate());
assertEquals("wrong person id", 1, entry.getPerson1Id());
assertEquals("wrong person id", 2, entry.getPerson2Id());
assertEquals("wrong forward", "estimate.jsp", forward.getPath());
assertTrue("redirected", !forward.getRedirect());
assertTrue("txn commit not called", support.connection.commitCalled);
assertTrue("reset called", !editorForm.resetCalled);
}