@Test
public void testStartTraceEntry() {

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