KafkaSourceCounter extends SourceCounter implements  KafkaSourceCounterMBean { public long getKafkaCommitTimer() { return get(TIMER_KAFKA_COMMIT); } KafkaSourceCounter(String name); long addToKafkaEventGetTimer(long delta); long addToKafkaCommitTimer(long delta); long incrementKafkaEmptyCount(); long getKafkaCommitTimer(); long getKafkaEventGetTimer(); long getKafkaEmptyCount();  }
@Test public void testGetKafkaCommitTimer() throws Exception { Assert.assertEquals(0, counter.getKafkaCommitTimer()); }