public ProcessingLogger getProcessingLogger(final QueryContext queryContext) {
    return processingLogContext
        .getLoggerFactory()
        .getLogger(
            QueryLoggerUtil.queryLoggerName(queryId, queryContext),
            MetricsTagsUtil.getMetricsTagsWithQueryId(queryId.toString(), Collections.emptyMap()));
  }
@Test
  public void shouldReturnProcessingLogger() {
    // When:
    when(processingLogFactory.getLogger(
        QueryLoggerUtil.queryLoggerName(QUERY_ID, queryContext), Collections.singletonMap("query-id", QUERY_ID.toString())))
        .thenReturn(processingLogger);
    final ProcessingLogger logger = runtimeBuildContext.getProcessingLogger(queryContext);

    // Then:
    assertThat(processingLogger, equalTo(logger));
  }