@Test
public void testStartServiceCallEntry() {

    assertThat(
            threadContext.startServiceCallEntry(null, "text", messageSupplier, timerName))
                    .isEqualTo(NopTransactionService.TRACE_ENTRY);
    assertThat(
            threadContext.startServiceCallEntry("type", null, messageSupplier, timerName))
                    .isEqualTo(NopTransactionService.TRACE_ENTRY);
    assertThat(threadContext.startServiceCallEntry("type", "text", null, timerName))
            .isEqualTo(NopTransactionService.TRACE_ENTRY);
    assertThat(threadContext.startServiceCallEntry("type", "text", messageSupplier, null))
            .isEqualTo(NopTransactionService.TRACE_ENTRY);
    assertThat(
            threadContext.startServiceCallEntry("type", "text", messageSupplier, timerName)
                    .getClass().getName()).endsWith("$DummyTraceEntryOrQuery");
}