assertTrue(layer.getSrs().contains("AUTO:42003"));
assertTrue(layer.getSrs().contains("AUTO:42005"));
// 2 total, this layer plus top most layer
assertEquals(layer.getStyles().size(), 2);
assertTrue(layer.getStyles().contains(new StyleImpl("TestStyle")));
assertTrue(layer.getStyles().contains(new StyleImpl("default")));
// Next test layer, nested 3 deep but different path
layer = (Layer) capabilities.getLayerList().get(4);
assertNotNull(layer);
assertNotNull(layer.getParent());