@Test
public void testAnaylizeRequestOrderSimple()
                        throws JAXBException, IOException {

    MapContentProvider wmsContentProvider = getProvider();
    JAXBContext jc = JAXBContext.newInstance( org.deegree.services.wps.provider.jrxml.jaxb.map.Map.class );
    Unmarshaller unmarshaller = jc.createUnmarshaller();
    InputStream is = TestMapContentProviderTest.class.getResourceAsStream( "mapDescription_simple.xml" );
    org.deegree.services.wps.provider.jrxml.jaxb.map.Map map = (org.deegree.services.wps.provider.jrxml.jaxb.map.Map) unmarshaller.unmarshal( is );
    List<OrderedDatasource<?>> anaylizeRequestOrder = wmsContentProvider.anaylizeRequestOrder( map.getDatasources().getWMSDatasourceOrWFSDatasource() );
    assertEquals( 1, anaylizeRequestOrder.size() );
    OrderedDatasource<?> ds = anaylizeRequestOrder.get( 0 );
    assertTrue( ds instanceof WMSOrderedDatasource );
    WMSOrderedDatasource wds = (WMSOrderedDatasource) ds;
    assertTrue( wds.datasource.getUrl().startsWith( "http://demo.deegree.org:80/deegree-wms/services" ) );
    assertEquals( 2, wds.layers.size() );
    assertEquals( wds.layers.get( 0 ).getName(), "StateOverview" );
    assertEquals( wds.layers.get( 1 ).getName(), "Lake" );
    is.close();
}