@Test
public void create_a_datepicker_for_local_date_contract_input() throws Exception {

    ParametrizedWidgetFactory elementFactory = createFactory();
    AbstractParametrizedWidget component = elementFactory
            .createParametrizedWidget(aLocalDateContractInput("creationLocalDate"));
    assertThat(component).isInstanceOf(DatePickerWidget.class);
}