@SuppressWarnings("deprecation")
@Test
public void shouldReturnLocalDateInstanceWhenConvertingUtilDateToLocalDate() {

    LocalDate now = LocalDate.now();
    java.util.Date date = new java.util.Date(now.getYear() - 1900, now.getMonthValue() - 1, now.getDayOfMonth());
    assertThat(Conversions.toLocalDate(date)).isEqualTo(now);
}