@Test
public void test_V110_EXAMPLE_sortby()
                        throws Exception {

    URL exampleURL = this.getClass().getResource( V110_EXAMPLE_sortby );
    Map<String, String> kvpMap = KVPUtils.readFileIntoMap( exampleURL );
    GetFeature getFeature = GetFeatureKVPAdapter.parse( kvpMap, null );
    FilterQuery filterQuery = (FilterQuery) getFeature.getQueries().get( 0 );
    SortProperty[] sortby = filterQuery.getSortBy();
    assertEquals( 4, sortby.length );
    assertEquals( true, sortby[0].getSortOrder() );
    assertEquals( "ands/dsalw", sortby[0].getSortProperty().getAsText() );
    assertEquals( true, sortby[1].getSortOrder() );
    assertEquals( "dsad/assdsa", sortby[1].getSortProperty().getAsText() );
    assertEquals( true, sortby[2].getSortOrder() );
    assertEquals( "dsda/asdasda", sortby[2].getSortProperty().getAsText() );
    assertEquals( true, sortby[3].getSortOrder() );
    assertEquals( "erewr/sdasd/dasda", sortby[3].getSortProperty().getAsText() );
    assertEquals( "ALL", filterQuery.getFeatureVersion() );
    assertEquals( BigInteger.valueOf( 1000000 ), getFeature.getPresentationParams().getCount() );
    assertEquals( CRSManager.getCRSRef( "EPSG:4326" ), filterQuery.getSrsName() );
}