EventManager { @WorkerThread public void deleteEvents() { synchronized (eventLock) { eventResolver.deleteAllEvents(); } } EventManager(@NonNull Context context,
                 @NonNull PreferenceDataStore preferenceDataStore,
                 @NonNull AirshipRuntimeConfig runtimeConfig); @VisibleForTesting  EventManager(@NonNull PreferenceDataStore preferenceDataStore,
                        @NonNull AirshipRuntimeConfig runtimeConfig,
                        @NonNull JobDispatcher jobDispatcher,
                        @NonNull ActivityMonitor activityMonitor,
                        @NonNull EventResolver eventResolver,
                        @NonNull EventApiClient apiClient); void scheduleEventUpload(final long delay, @NonNull TimeUnit timeUnit); @WorkerThread void addEvent(@NonNull Event event, @NonNull String sessionId); @WorkerThread void deleteEvents(); @WorkerThread boolean uploadEvents(@NonNull Map<String, String> headers); @NonNull
    static final String ACTION_SEND; }
@Test public void testDeleteAll() { eventManager.deleteEvents(); verify(mockEventResolver).deleteAllEvents(); }