### Question:
ExecutingQuery { @Override public String toString() { return ToStringBuilder.reflectionToString( this ); } ExecutingQuery(
            long queryId,
            ClientConnectionInfo clientConnection,
            String username,
            String queryText,
            MapValue queryParameters,
            Map<String,Object> transactionAnnotationData,
            LongSupplier activeLockCount,
            PageCursorCounters pageCursorCounters,
            long threadExecutingTheQueryId,
            String threadExecutingTheQueryName,
            SystemNanoClock clock,
            CpuClock cpuClock,
            HeapAllocation heapAllocation ); void compilationCompleted( CompilerInfo compilerInfo, Supplier<ExecutionPlanDescription> planDescriptionSupplier ); LockTracer lockTracer(); void waitsForQuery( ExecutingQuery child ); QuerySnapshot snapshot(); @Override boolean equals( Object o ); @Override int hashCode(); @Override String toString(); long internalQueryId(); String username(); String queryText(); Supplier<ExecutionPlanDescription> planDescriptionSupplier(); MapValue queryParameters(); long startTimestampMillis(); long elapsedNanos(); Map<String,Object> transactionAnnotationData(); long reportedWaitingTimeNanos(); long totalWaitingTimeNanos( long currentTimeNanos );  }### Answer:
@Test public void includeQueryExecutorThreadName() { String queryDescription = query.toString(); assertTrue( queryDescription.contains( "threadExecutingTheQueryName=" + Thread.currentThread().getName() ) ); }