@Test
public void empty_strings_are_converted_to_null_localdates() {

    Object localDate = new LocalDateConverter().getAsObject(mock(FacesContext.class), mock(UIComponent.class), "");
    assertThat(localDate).isNull();
}