@Test
public void testLogReportSpan() throws Exception {

	Mockito.when(elasticsearchTracingPlugin.isOnlyLogElasticsearchSpanReports()).thenReturn(true);
	final SpanContextInformation spanContext = reportSpanWithCallTree(1000, "Report Me");
	final List<MockSpan> sampledSpans = getSampledSpans();
	assertThat(sampledSpans).hasSize(1);
	Mockito.verify(httpClient, Mockito.times(0)).send(any(), any(), any(), any(), any());
	Mockito.verify(spanLogger).info(ArgumentMatchers.startsWith("{\"index\":{\"_index\":\"stagemonitor-spans-" + StringUtils.getLogstashStyleDate() + "\",\"_type\":\"spans\"}}\n"));
	Assert.assertTrue(reporter.isActive(spanContext));
}