@Test
public void should_map_a_numeric_contract_input_to_an_input_with_number_type() throws Exception {

    ContractInputToWidgetMapper contractInputToWidgetMapper = makeContractInputToWidgetMapper();
    Element element = contractInputToWidgetMapper.toElement(aLongContractInput("timestamp"),
            Collections.<List<Element>> emptyList());
    assertThat(element.getPropertyValues().get("type").getValue()).isEqualTo("number");
}