ProjectPackage.CONTEXT_MODEL__LAYERS, null, layer);
creator.changed(notificationImpl);
RenderContext context = creator.getConfiguration().iterator().next();
assertEquals(1, creator.getLayers().size());
Renderer renderer = creator.getRenderer(context);
assertSame( context, renderer.getContext() );
assertTrue("Expected MultiLayerRenderer but was "+renderer, renderer instanceof MultiLayerRenderer); //$NON-NLS-1$
assertEquals(1, creator.getConfiguration().size());
layer=MapTests.createLayer(new URL( "http://multi_dummy"), new RendererCreatorTestObjForMulitRenderer(), layer.getMapInternal()); //$NON-NLS-1$
creator.changed(listener.lastNotification);
assertEquals(2, creator.getLayers().size());
assertEquals(1, creator.getConfiguration().size());
context=creator.getConfiguration().iterator().next();
renderer = creator.getRenderer(context);
assertSame( context, renderer.getContext() );
CompositeRenderContext compositeRenderContext = ((CompositeRenderContext)creator.getConfiguration().iterator().next());
assertEquals(2, compositeRenderContext.getContexts().size());
assertTrue("Expected MultiRenderer but was "+renderer, renderer instanceof MultiLayerRenderer); //$NON-NLS-1$