@Test
public void should_create_a_page_without_formInput_when_contract_contains__only_data_reference_on_a_task() throws Exception {

    ContractToPageMapper contractToPageMapper = makeContractToPageMapper();
    Page page = contractToPageMapper.createFormPage("myPage", aSimpleContractWithDataRef(EditMode.EDIT), FormScope.TASK);
    assertThat(page.getVariables().keySet()).doesNotContain("formInput");
}