@Test
public void null_strings_are_converted_to_null_localdates() {

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