@Test
public void should_not_add_simple_aggregated_relation_in_a_container() throws Exception {

    Page page = new Page();
    new ContractInputVisitorImpl(page, contractInputToWidgetMapper)
            .visit((NodeContractInput) ContractBuilder.aContractWithDataRefAndAggregation(EditMode.CREATE).getInput().get(0));
    Container formContainer = (Container) page.getRows().get(1).get(0);
    Component select = (Component) formContainer.getRows().get(3).get(0);
    assertThat(select.getId()).isEqualTo("pbSelect");
}