@Deprecated
@Test
public void create_a_datepicker_for_date_contract_input() throws Exception {

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