public class HiccupMeterUnitTest extends ZorkaFixture {
@Test
public void testSimpleCpuHiccupRun() throws Exception {
HiccupMeter meter = perfmon.cpuHiccup("test", "zorka:name=TestHiccup", "CPU");
meter.cycle(100);
assertEquals(0, meter.getStats().getCalls());
meter.cycle(500);
assertEquals(1, meter.getStats().getCalls());
}