@Test
public void should_map_simple_numeric_input_to_an_input_widget_id() throws Exception {

    ContractInputToWidgetMapper contractInputToWidgetMapper = makeContractInputToWidgetMapper();
    Component element = (Component) contractInputToWidgetMapper.toElement(aLongContractInput("updateTime"),
            Collections.<List<Element>> emptyList());
    assertThat(element.getId()).isEqualTo("pbInput");
}