public void StopProcessingSpansWithoutStartFirst() { SetupSpanCollector(); spanCollector.Stop(); spanProcessorStub.AssertWasNotCalled(x => x.Stop()); Assert.IsFalse(spanCollector.IsStarted); }
public void ShutDown() { if (spanCollector != null) { spanCollector.Stop(); } }
public void StopProcessingSpans() { SetupSpanCollector(); spanCollector.Stop(); spanProcessorStub.AssertWasCalled(x => x.Stop()); }