### Question:
StatsCallback extends ResultCallbackTemplate<StatsCallback, Statistics> { public Statistics getStats() { return stats; } StatsCallback(CountDownLatch countDownLatch); Statistics getStats(); @Override void onNext(Statistics stats); boolean gotStats(); void reset();  }### Answer:
@Test public void testGetStats() { assertNull(statsCallback.getStats()); }