import static org.fest.assertions.api.Assertions.assertThat; assertThat(fromDate).isEqualTo(new LocalDate(2016, 4, 1));