### Question:
MapboxTelemetry implements FullQueueCallback, ServiceTaskCallback { @VisibleForTesting TelemetryClientFactory getTelemetryClientFactory(String accessToken, String userAgent) { String fullUserAgent = TelemetryUtils.createFullUserAgent(userAgent, applicationContext); return new TelemetryClientFactory(accessToken, fullUserAgent, new Logger(), certificateBlacklist); } MapboxTelemetry(Context context, String accessToken, String userAgent);   MapboxTelemetry(Context context, String accessToken, String userAgent, EventsQueue queue,
                  TelemetryClient telemetryClient, Callback httpCallback, SchedulerFlusher schedulerFlusher,
                  Clock clock, TelemetryEnabler telemetryEnabler, ExecutorService executorService); @Override // Callback is dispatched on background thread void onFullQueue(List<Event> fullQueue); @Override void onTaskRemoved(); boolean push(Event event); boolean enable(); boolean disable(); boolean updateSessionIdRotationInterval(SessionInterval interval); void updateDebugLoggingEnabled(boolean isDebugLoggingEnabled); void updateUserAgent(String userAgent); boolean updateAccessToken(String accessToken); boolean addTelemetryListener(TelemetryListener listener); boolean removeTelemetryListener(TelemetryListener listener); boolean addAttachmentListener(AttachmentListener listener); boolean removeAttachmentListener(AttachmentListener listener); @SuppressWarnings("WeakerAccess") @Deprecated synchronized boolean setBaseUrl(String eventsHost); boolean isCnRegion(); synchronized void setCnRegion(boolean setCnRegion);  }### Answer:
@Test public void checkTelemetryClientFactory() { String anyToken = "anyToken"; String anyUserAgent = "anyUserAgent"; Context mockedContext = mock(Context.class, RETURNS_DEEP_STUBS); TelemetryClient mockedTelemetryClient = mock(TelemetryClient.class); Callback mockedHttpCallback = mock(Callback.class); MapboxTelemetry theMapboxTelemetry = obtainMapboxTelemetryWith(mockedContext, mockedTelemetryClient, mockedHttpCallback); TelemetryClientFactory factory = theMapboxTelemetry.getTelemetryClientFactory(anyToken, anyUserAgent); assertNotNull(factory); }