@Test
public void create_a_displayed_container() throws Exception {

    ParametrizedWidgetFactory elementFactory = createFactory();
    ContractInput input = mock(ContractInput.class);
    when(input.isMultiple()).thenReturn(false);
    WidgetContainer container = elementFactory.createWidgetContainer(input);
    AbstractParametrizedWidgetAssert.assertThat(container).isDisplayed();
}