@Test
public void should_create_a_datepicker_for_date_contract_input_with_local_date_format() throws Exception {

    ParametrizedWidgetFactory elementFactory = createFactory();
    DatePickerWidget component = (DatePickerWidget) elementFactory
            .createParametrizedWidget(aLocalDateContractInput("creationLocalDate"));
    DatePickerWidgetAssert.assertThat(component).hasPlaceholder();
    DatePickerWidgetAssert.assertThat(component).hasDateFormat("MM/dd/yyyy");
}