private bool ValidateStartAction(Action y, SpanProcessor spanProcessor) { Assert.AreEqual(() => spanProcessor.LogSubmittedSpans(), y); return true; }
private bool ValidateStartAction(Action y, SpanProcessor spanProcessor) { Assert.AreEqual(() => spanProcessor.LogSubmittedSpans(), y); return(true); }
public void LogSubmittedSpans_DoNotIncrementSubsequentPollCountIfSpanQueueIsEmpty() { spanProcessor.LogSubmittedSpans(); Assert.AreEqual(0, spanProcessor.subsequentPollCount); }
public void LogSubmittedSpans_IncrementSubsequentEmptyQueueCountIfSpanQueueEmpty() { spanProcessor.LogSubmittedSpans(); Assert.AreEqual(1, spanProcessor.subsequentEmptyQueueCount); }