new CassandraCollectorCounterDataStore().getOrCreateCounter(key, "node1");
assertNotNull(new CassandraCollectorCounterDataStore().findByKey(key, "node1"));
new CassandraCollectorCounterDataStore().update(key, "node1", new M2AwareStatisticalSummary(3, 4, 4, 4, 4, 4, 4), 2);
final LeafCollectorCounter counter = new CassandraCollectorCounterDataStore().getOrCreateCounter(key, "node1");
assertEquals("K100Drap#1", counter.getKey().getName());
assertEquals("K100Drap", counter.getKey().getRole().getName());
assertEquals(4, counter.getMax(), 0.);
assertEquals(2, counter.getMaxConcurrency(), 0.);
}