### Question:
StatisticsVisitor { public static void visitStatistics (@Nonnull final IStatisticsVisitorCallback aCallback) { ValueEnforcer.notNull (aCallback, "Callback"); ICommonsList <String> aHandlers = StatisticsManager.getAllCacheHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerCache aHandler = StatisticsManager.getCacheHandler (sName); aCallback.onCache (sName, aHandler); } aHandlers = StatisticsManager.getAllTimerHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerTimer aHandler = StatisticsManager.getTimerHandler (sName); aCallback.onTimer (sName, aHandler); } aHandlers = StatisticsManager.getAllKeyedTimerHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerKeyedTimer aHandler = StatisticsManager.getKeyedTimerHandler (sName); aCallback.onKeyedTimer (sName, aHandler); } aHandlers = StatisticsManager.getAllSizeHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerSize aHandler = StatisticsManager.getSizeHandler (sName); aCallback.onSize (sName, aHandler); } aHandlers = StatisticsManager.getAllKeyedSizeHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerKeyedSize aHandler = StatisticsManager.getKeyedSizeHandler (sName); aCallback.onKeyedSize (sName, aHandler); } aHandlers = StatisticsManager.getAllCounterHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerCounter aHandler = StatisticsManager.getCounterHandler (sName); aCallback.onCounter (sName, aHandler); } aHandlers = StatisticsManager.getAllKeyedCounterHandler ().getSorted (Comparator.naturalOrder ()); for (final String sName : aHandlers) { final IStatisticsHandlerKeyedCounter aHandler = StatisticsManager.getKeyedCounterHandler (sName); aCallback.onKeyedCounter (sName, aHandler); } } private  StatisticsVisitor(); static void visitStatistics(@Nonnull final IStatisticsVisitorCallback aCallback);  }### Answer:
@Test public void testWalkStatistics () { StatisticsVisitor.visitStatistics (new IStatisticsVisitorCallback () {}); }