@Test
public void add_a_one_row_component_when_visiting_a_leaf_contract_input() throws Exception {

    Page page = new Page();
    new ContractInputVisitorImpl(page, contractInputToWidgetMapper)
            .visit(ContractInputBuilder.aStringContractInput("name"));
    assertThat(page.getRows()).hasSize(1);
    assertThat(page.getRows().get(0)).hasSize(1);
    assertThat(page.getRows().get(0).get(0)).isInstanceOf(Component.class);
}