36373839404142434445
@Before public void setUp() { template.dropCollection(COLLECTION_NAME); // capped template.createCollection(COLLECTION_NAME, new CollectionOptions(1000,5,true)); // uncapped //template.createCollection(COLLECTION_NAME); }