Collection<RenderExecutor> executors = renderer.getRenderExecutors();
Iterator<RenderExecutor> iter = executors.iterator();
RenderExecutor executor = iter.next();
assertEquals( map.getLayersInternal().get(0),executor.getContext().getLayer() );
executor = iter.next();
assertEquals( map.getLayersInternal().get(1),executor.getContext().getLayer() );
executor = iter.next();
SelectionLayer sl = (SelectionLayer) executor.getContext().getLayer();
assertEquals( map.getLayersInternal().get(0),sl.getWrappedLayer() );
executor = iter.next();
sl = (SelectionLayer) executor.getContext().getLayer();
assertEquals( map.getLayersInternal().get(1),sl.getWrappedLayer() );
}