@Test
public void create_a_page_with_a_id_expression_data_for_task_scope() throws Exception {

    ContractToPageMapper contractToPageMapper = makeContractToPageMapper();
    Page page = contractToPageMapper.createFormPage("myPage", aContractWithMultipleInput(), FormScope.TASK);
    assertThat(page.getVariables()).contains(entry("taskId", aUrlParameterVariable().value("id").build()));
}