@Test
public void testShouldNotAddErrorIfTransactionDateAfterDisbursementDate() throws Exception {

    expect(paymentMock.getTransactionDate()).andReturn(DateUtils.currentDate()).anyTimes();
    replay(paymentMock);
    ActionErrors errors = new ActionErrors();
    form.validateTransactionDate(errors, paymentMock, DateUtils.getDateFromToday(-1));
    verify(paymentMock);
   Assert.assertTrue(errors.isEmpty());
}