@Test
public void testElementValueFilter() throws IOException {
Filter filter = FF.equals(FF.property("dc:identifier/dc:value", CSWRecordDescriptor.NAMESPACES), FF.literal("urn:uuid:1ef30a8b-876d-4828-9246-c37ab4510bbd"));
FeatureCollection records = store.getRecords(new Query("Record", filter), Transaction.AUTO_COMMIT);
assertEquals(1, records.size());
Feature record = (Feature) records.toArray()[0];
assertEquals("urn:uuid:1ef30a8b-876d-4828-9246-c37ab4510bbd", getSimpleLiteralValue(record, "identifier"));
assertEquals("http://purl.org/dc/dcmitype/Service", getSimpleLiteralValue(record, "type"));
assertEquals("Proin sit amet justo. In justo. Aenean adipiscing nulla id tellus.", getSimpleLiteralValue(record, "abstract"));
}