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

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