@Test
public void testEvalFilterSubject()
                        throws Exception {

    InputStream is = ISORecordTest.class.getResourceAsStream( "datasetRecord.xml" );
    XMLStreamReader xmlStream = XMLInputFactory.newInstance().createXMLStreamReader( is );
    ISORecord record = new ISORecord( xmlStream );
    Literal<PrimitiveValue> literal = new Literal<PrimitiveValue>( "Hydrography" );
    Operator operator = new PropertyIsEqualTo( new ValueReference( "Subject", nsContext ), literal, true, null );
    Filter filter = new OperatorFilter( operator );
    boolean isMatching = record.eval( filter );
    assertTrue( isMatching );
}