    @Test
    public void createItemHolder() {

        HeaderModel header = new HeaderModel("H1");
        HeaderHolder headerHolder = FlexibleFactory.create(HeaderHolder.class, header);

        ItemModel item = new ItemModel("I1", "H2");
        ItemHolder itemHolder = FlexibleFactory.create(ItemHolder.class, item, headerHolder);

        assertNotNull(itemHolder);
        assertEquals(item, itemHolder.getModel());
        assertEquals(headerHolder, itemHolder.getHeader());
        assertEquals(header, itemHolder.getHeader().getModel());
    }