final Filter filter = FF.equal(FF.property("location"), FF.literal("sample.grb2"), true);
final int removed = granules.removeGranules(filter);
assertEquals (1, removed);
granulesCollection = granules.getGranules(null);
assertEquals(0, granulesCollection.size());
reader.dispose();
}
}