@SuppressWarnings("unchecked")
@Test
public void testParse_elevationValues()
                        throws Exception {

    GetMapParser getMapXMLAdapter = new GetMapParser();
    XMLStreamReader xmlStreamReader = createXmlStreamReader( "wms-1.3.0-GetMap_elevationValues.xml" );
    GetMap getMap = getMapXMLAdapter.parse( xmlStreamReader );
    HashMap<String, List<?>> dimensions = getMap.getDimensions();
    assertThat( dimensions.size(), is( 1 ) );
    List<Double> elevationValues = (List<Double>) dimensions.get( "elevation" );
    assertThat( elevationValues.size(), is( 5 ) );
    assertThat( elevationValues, hasItems( -1.5, -0.5, 0d, 0.5, 1.5 ) );
}