@Test
public void create_a_datepicker_for_localdate_contract_input_with_description_keeping_default_placeholder()
        throws Exception {

    ParametrizedWidgetFactory elementFactory = createFactory();
    LeafContractInput contractInput = aLocalDateContractInput("name");
    contractInput.setDescription("My description");
    InputWidget component = (InputWidget) elementFactory.createParametrizedWidget(contractInput);
    InputWidgetAssert.assertThat(component).hasPlaceholder("Enter a date (mm/dd/yyyy)");
}