assertNotNull(fsource);
assertNotNull(fsource.getDataStore());
assertEquals(fsource.getDataStore(), store);
assertNotNull(fsource.getSchema());
SimpleFeatureCollection results = fsource.getFeatures();
int count = results.size();
assertTrue("size returns " + count, count > 0);
LOGGER.fine("feature count: " + count);
Envelope env1;
Envelope env2;
env1 = fsource.getBounds();
assertNotNull(env1);
assertFalse(env1.isNull());
env2 = fsource.getBounds(Query.ALL);
assertNotNull(env2);
assertFalse(env2.isNull());
env1 = results.getBounds();
assertNotNull(env1);
assertFalse(env1.isNull());
SimpleFeatureIterator reader = results.features();
assertTrue(reader.hasNext());
try {
assertNotNull(reader.next());
} catch (NoSuchElementException ex) {