assertNotNull(hotlinkDescriptor.getType() != null);
}
FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2();
SimpleFeatureCollection features = featureStore.getFeatures(ff.equals(ff.property("STATE"),
ff.literal("Tasmania")));
SimpleFeatureIterator iterator = features.features();
assertTrue("Tasmania found", iterator.hasNext());
SimpleFeature tasmania = iterator.next();
List<IDocument> documents = hotlink.getDocuments(tasmania, new NullProgressMonitor());
assertEquals("image document found", 2, documents.size());