@SuppressWarnings("boxing")
@Test
public void testExample4Wfs110()
                        throws Exception {

    URL example = this.getClass().getResource( EXAMPLE4_WFS110 );
    Map<String, String> kvpMap = KVPUtils.readFileIntoMap( example );
    LockFeature lockFeature = LockFeatureKVPAdapter.parse( kvpMap );
    assertTrue( lockFeature.getLockAll() );
    assertEquals( new BigInteger( "300" ), lockFeature.getExpiryInSeconds() );
    List<Query> queries = lockFeature.getQueries();
    assertEquals( 2, queries.size() );
    FilterQuery filterQuery1 = (FilterQuery) queries.get( 0 );
    OperatorFilter filter1 = (OperatorFilter) filterQuery1.getFilter();
    assertTrue( filter1.getOperator() instanceof Within );
    Within within = (Within) filter1.getOperator();
    assertEquals( "wkbGeom", within.getPropName().getAsText() );
    Envelope env = (Envelope) within.getGeometry();
    verifyEnvelope( env, 10, 10, 20, 20 );
}