@Test
public void should_string_contract_input_has_value_configured_on_sentData() throws Exception {

    ContractInputToWidgetMapper contractInputToWidgetMapper = makeContractInputToWidgetMapper();
    Element element = contractInputToWidgetMapper.toElement(aStringContractInput("firstName"),
            Collections.<List<Element>> emptyList());
    PropertyValue valueParameter = element.getPropertyValues().get("value");
    assertThat(valueParameter.getType()).isEqualTo("variable");
    assertThat(valueParameter.getValue()).isEqualTo("formInput.firstName");
}