@Test
public void testWMSCapabilitiesStyles()
                        throws XMLStreamException, UnknownCRSException {

    WMSCapabilitiesAdapter capabilities = createCapabilities();
    LayerMetadata layer = capabilities.getLayer( "cite:BasicPolygons" );
    Map<String, Style> styles = layer.getStyles();
    assertEquals( 1, styles.size() );
    assertTrue( styles.containsKey( "default" ) );
}