@Test
public void should_create_a_datetimepicker_for_date_contract_input_with_local_date_time_format() throws Exception {

    ParametrizedWidgetFactory elementFactory = createFactory();
    DateTimePickerWidget component = (DateTimePickerWidget) elementFactory
            .createParametrizedWidget(aLocalDateTimeContractInput("creationLocalDateTime"));
    DateTimePickerWidgetAssert.assertThat(component).hasDateFormat("MM/dd/yyyy");
    DateTimePickerWidgetAssert.assertThat(component).hasTimeFormat("h:mm:ss a");
    DateTimePickerWidgetAssert.assertThat(component).hasDatePlaceholder();
    DateTimePickerWidgetAssert.assertThat(component).hasTimePlaceholder();
    assertThat(component.isWithTimeZone()).isEqualTo(false);
}