Hey, there is no DateMatcher in the HamCrest! Why?
I found a useful library: hamcrest-date. Really cool for unit testing:
assertThat(dola.getTranslationStatus().getResultDate(), is(isToday()));
assertThat(dola.getTranslationStatus().getResultDate(), is(sameDay(new Date())));
I found a useful library: hamcrest-date. Really cool for unit testing:
assertThat(dola.getTranslationStatus().getResultDate(), is(isToday()));
assertThat(dola.getTranslationStatus().getResultDate(), is(sameDay(new Date())));

