feature = filteredResults.features().next();
assertEquals("gu.25678", feature.getIdentifier().toString());
Collection<Property> properties = feature.getProperties(Types.typeName(GMLNS, "name"));
assertTrue(properties.size() == 3);
Iterator<Property> propIterator = properties.iterator();
ComplexAttribute complexAttribute;
Collection<? extends Property> values;
// first
complexAttribute = (ComplexAttribute) propIterator.next();
values = complexAttribute.getValue();
assertEquals(1, values.size());
assertEquals("Yaugher Volcanic Group 1",
GML3EncodingUtils.getSimpleContent(complexAttribute));
// second
complexAttribute = (ComplexAttribute) propIterator.next();
values = complexAttribute.getValue();
assertEquals(1, values.size());
assertEquals("Yaugher Volcanic Group 2",
GML3EncodingUtils.getSimpleContent(complexAttribute));
// third
complexAttribute = (ComplexAttribute) propIterator.next();
values = complexAttribute.getValue();
assertEquals(1, values.size());
assertEquals("-Py",
GML3EncodingUtils.getSimpleContent(complexAttribute));
/**
* Same case as above, but the multi-valued property is feature chained