@Test
public void testHierarchicalCounterGet3() {
Map<String, CounterIndexStore> x = mctr.get("switch");
// single level counter
x.put("00:00:00:00:00:00:00:01",
dc.new CounterIndexStore(10, null));
// two level counter
x.put("00:00:00:00:00:00:00:03",
dc.new CounterIndexStore(30, new ConcurrentHashMap<String,CounterIndexStore>()));
x.get("00:00:00:00:00:00:00:03").nextLevel.put("pktin",
dc.new CounterIndexStore(333, null));
// three level counter
x.put("00:00:00:00:00:00:00:05",
dc.new CounterIndexStore(50, new ConcurrentHashMap<String,CounterIndexStore>()));
x.get("00:00:00:00:00:00:00:05")
.nextLevel.put("pktin",
dc.new CounterIndexStore(555, new ConcurrentHashMap<String,CounterIndexStore>()));
x.get("00:00:00:00:00:00:00:05").nextLevel.get("pktin").nextLevel.
put("drops", dc.new CounterIndexStore(1056, null));
// 1-level counter exists
String counterName = "00:00:00:00:00:00:00:01";
RetCtrInfo rci1 = dc.getCounterId("switch",counterName);
exp.levels = counterName.split("/");