@Test
public void testParse_defaultValues()
                        throws Exception {

    GetFeatureInfoParser parser = new GetFeatureInfoParser();
    XMLStreamReader xmlStreamReader = createXmlStreamReader( "wms-1.3.0-GetFeatureInfo_simple.xml" );
    GetFeatureInfo getFeatureInfo = parser.parse( xmlStreamReader );
    Map<String, String> parameterMap = getFeatureInfo.getParameterMap();
    assertThat( parameterMap.size(), is( 0 ) );
    assertThat( getFeatureInfo.getX(), is( 50 ) );
    assertThat( getFeatureInfo.getY(), is( 15 ) );
    assertThat( getFeatureInfo.getFeatureCount(), is( 1 ) );
    assertThat( getFeatureInfo.getInfoFormat(), is( "text/xml" ) );
    assertThat( getFeatureInfo.getQueryLayers().size(), is( 1 ) );
    assertThat( getFeatureInfo.getQueryLayers(), hasLayerRef( "counties" ) );
}