### Question:
TracerSdkProvider implements TracerProvider, TracerSdkManagement { @Override public CompletableResultCode forceFlush() { return sharedState.getActiveSpanProcessor().forceFlush(); } private  TracerSdkProvider(Clock clock, IdsGenerator idsGenerator, Resource resource); static Builder builder(); @Override Tracer get(String instrumentationName); @Override Tracer get(String instrumentationName, String instrumentationVersion); @Override TraceConfig getActiveTraceConfig(); @Override void updateActiveTraceConfig(TraceConfig traceConfig); @Override void addSpanProcessor(SpanProcessor spanProcessor); @Override void shutdown(); @Override CompletableResultCode forceFlush();  }### Answer:
@Test void forceFlush() { tracerFactory.forceFlush(); Mockito.verify(spanProcessor, Mockito.times(1)).forceFlush(); }