@Test
public void visit_a_contract_when_creating_a_page() throws Exception {

    ContractToPageMapper contractToPageMapper = makeContractToPageMapper();
    Page page = contractToPageMapper.createFormPage("myPage", aSimpleContract(), FormScope.TASK);
    assertThat(getTaskFormContainerContent(page).getRows()).hasSize(6);
}