use of org.ff4j.mongo.store.FeatureStoreMongo in project ff4j by ff4j.
the class FeatureStoreMongoCollectionCore1Test method emptyListAttributes.
/**
* LazyBSONObjectList vs BasicBSONObjectList
*/
@Test
@Ignore
public void emptyListAttributes() throws UnknownHostException {
MongoCollection<Document> features = getMongoClient().getDatabase("FF4J").getCollection("feature");
// When
FeatureStore mongoStore = new FeatureStoreMongo(features, "ff4j.xml");
// Then (no error)
Assert.assertTrue(mongoStore.readAll().keySet().size() > 0);
}
Aggregations