@Test
public void should_string_contract_input_create_an_input_widget_id() throws Exception {

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