Assert.assertNotNull(filter.process(r));
}
@Test
public void testExcludeConfig(){
EntityProcessor filter = new FieldValueFilter(nsPrefixProvider,"rdf:type","*;!foaf:Person");
Representation r = getRepresentation(NamespaceEnum.foaf+"Person");
Assert.assertNull(filter.process(r));
r = getRepresentation(NamespaceEnum.skos+"Concept");
Assert.assertNotNull(filter.process(r));
r = getRepresentation(NamespaceEnum.skos+"Concept", NamespaceEnum.foaf+"Person");
Assert.assertNotNull(filter.process(r));
//test empty value
filter = new FieldValueFilter(nsPrefixProvider,"skos:releated","*;!null");
Assert.assertNull(filter.process(r));
filter = new FieldValueFilter(nsPrefixProvider,"skos:releated","*;!");
Assert.assertNull(filter.process(r));
filter = new FieldValueFilter(nsPrefixProvider,"skos:releated", "*;!;!foaf:Person");
Assert.assertNull(filter.process(r));
}