@Test
public void testWMSCapabilitiesNamesLayers()
                        throws XMLStreamException {

    WMSCapabilitiesAdapter capabilities = createCapabilities();
    List<String> namedLayers = capabilities.getNamedLayers();
    assertTrue( namedLayers.contains( "citelayers" ) );
    assertTrue( namedLayers.contains( "cite:Bridges" ) );
}