@Test
public void testStartNestedSpanWhenSpanNull() {

    // Setup
    final String name = "name";
    final String event = "event";
    final Span span = null;
    final Span nestedSpan = mock(Span.class);
    // Run the test
    final Span result = kermossTracerUnderTest.startNestedSpan(name, event, span);
    // Verify the results
    verify(nestedSpan, never()).logEvent(same(event));
    assertEquals(result, null);
}