ProfileConsumer cons1 = collector.getConsumer("c1");
final ProfileCounter counter =
cons1.createCounter("my counter",
ProfileDataType.TASK, ProfileLevel.MIN);
counter.incrementCount();
}
@Test(expected=IllegalStateException.class)
public void testTaskCounterIncrementValueNoTransaction() throws Exception {
ProfileCollector collector = getCollector(serverNode);