public void testHasUnitTag() throws Exception {
DynamicTimer.start("test1", tagList);
CompositeMonitor c = (CompositeMonitor<Long>) getByName("test1");
List<Monitor<?>> monitors = c.getMonitors();
for (Monitor<?> m : monitors) {
Tag type = m.getConfig().getTags().getTag("unit");
assertEquals(type.getValue(), "MILLISECONDS");
}
}