@Test
public void testStartAsyncServiceCallEntry() {

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