ep.initialize(assemblyContext);
module.getEntryPoints().add(ep);
List<ContextFactoryBuilder> builders = new ArrayList<ContextFactoryBuilder>();
builders.add(new TestBuilder());
AssemblyVisitorImpl visitor = new AssemblyVisitorImpl(builders);
module.initialize(assemblyContext);
visitor.start(module);
Assert.assertSame(MARKER, component.getContextFactory());
Assert.assertSame(MARKER, cRef.getProxyFactory());
Assert.assertSame(MARKER, ep.getContextFactory());
Assert.assertSame(MARKER, cEpRef.getProxyFactory());