### Question:
CallStats { public void initialize(final int appId, final String appSecret, final String bridgeId, final ServerInfo serverInfo, final CallStatsInitListener callStatsInitListener) { if (StringUtils.isBlank(appSecret)) { logger.error("intialize: Arguments cannot be null "); throw new IllegalArgumentException("intialize: Arguments cannot be null"); } initialize(appId, new TokenGeneratorHs256(appSecret.toCharArray(), appId, bridgeId), bridgeId, serverInfo, callStatsInitListener); } CallStats(); boolean isInitialized(); void initialize(final int appId, final String appSecret, final String bridgeId,
      final ServerInfo serverInfo, final CallStatsInitListener callStatsInitListener); void initialize(final int appId, ICallStatsTokenGenerator tokenGenerator,
      final String bridgeId, final ServerInfo serverInfo,
      final CallStatsInitListener callStatsInitListener); void sendCallStatsBridgeStatusUpdate(BridgeStatusInfo bridgeStatusInfo); synchronized void sendCallStatsConferenceEvent(CallStatsConferenceEvents eventType,
      ConferenceInfo conferenceInfo, final CallStatsStartConferenceListener listener); synchronized void sendCallStatsConferenceEvent(CallStatsConferenceEvents eventType,
      UserInfo userInfo); synchronized void startStatsReportingForUser(String userID, String confID); synchronized void stopStatsReportingForUser(String userID, String confID); synchronized void reportConferenceStats(String userID, ConferenceStats stats);  }### Answer:
@Test public void initializeTest() { callstatslib.initialize(appId, appSecret, "jit.si.345", serverInfo, listener); try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } String msg = "SDK authentication successful"; Mockito.verify(listener).onInitialized(msg); }