@Test
public void testWMSCapabilitiesFormats()
                        throws XMLStreamException {

    WMSCapabilitiesAdapter capabilities = createCapabilities();
    LinkedList<String> getMapFormats = capabilities.getFormats( GetMap );
    assertEquals( 8, getMapFormats.size() );
    assertTrue( getMapFormats.contains( "image/png" ) );
    assertTrue( getMapFormats.contains( "image/bmp" ) );
}