@Test
public void testGetRecordsAllWithFilterForBBox()
                        throws Exception {

    StoredISORecords storedIsoRecords = getStoredIsoRecords();
    GeometryFactory geomFactory = new GeometryFactory();
    ValueReference reference = new ValueReference( "apiso:BoundingBox", nsContext );
    Operator operator = new BBOX( reference, geomFactory.createEnvelope( 10, 45.22, 11., 45.5, CRSUtils.EPSG_4326 ) );
    Filter filter = new OperatorFilter( operator );
    MetadataQuery query = new MetadataQuery( null, null, filter, null, 1, 100 );
    MetadataResultSet<ISORecord> allRecords = storedIsoRecords.getRecords( query );
    assertEquals( 3, allRecords.getRemaining() );
}