    @Test
    public void test_visitChildFactoriesAndViewsFlat(){

        ExampleFactoryA exampleFactoryA = new ExampleFactoryA();
        ExampleFactoryB factory = new ExampleFactoryB();
        exampleFactoryA.referenceAttribute.set(factory);
        exampleFactoryA.referenceListAttribute.add(factory);


        ((FactoryBase<?, ?>)exampleFactoryA).finalizeChildren();
        Assertions.assertEquals(1,((FactoryBase<?, ?>)exampleFactoryA).finalisedChildrenFlat.size());
    }