test_class.declarator: DEFAULT_MDC = new HashMap<>()
test_class.modifier: private static final
test_class.original_string: private static final Map<String, Object> DEFAULT_MDC = new HashMap<>();
test_class.type: Map<String, Object>
test_class.var_name: DEFAULT_MDC
test_class.declarator: KNOWN_KEY_1 = "key-1"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_KEY_1 = "key-1";
test_class.type: String
test_class.var_name: KNOWN_KEY_1
test_class.declarator: KNOWN_KEY_2 = "key-2"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_KEY_2 = "key-2";
test_class.type: String
test_class.var_name: KNOWN_KEY_2
test_class.declarator: KNOWN_VALUE_1 = "value-1"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_VALUE_1 = "value-1";
test_class.type: String
test_class.var_name: KNOWN_VALUE_1
test_class.declarator: KNOWN_VALUE_2 = "value-2"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_VALUE_2 = "value-2";
test_class.type: String
test_class.var_name: KNOWN_VALUE_2
test_class.declarator: log
test_class.modifier: private
test_class.original_string: private DiagnosticLoggingAdapter log;
test_class.type: DiagnosticLoggingAdapter
test_class.var_name: log
test_class.file: services/connectivity/util/src/test/java/org/eclipse/ditto/services/connectivity/util/ConnectionLogUtilTest.java
test_class.identifier: ConnectionLogUtilTest
test_case.body: @Test
      public void enhanceLogWithCorrelationIdAndConnectionId1() {
          final String connectionId = "theConnection";
          final String correlationId = "theCorrelationId";
  
          final Map<String, Object> expectedMap = new HashMap<>(DEFAULT_MDC);
  
          expectedMap.put("connection-id", connectionId);
          expectedMap.put(LogUtil.X_CORRELATION_ID, correlationId);
  
          ConnectionLogUtil.enhanceLogWithCorrelationIdAndConnectionId(log, correlationId, connectionId);
  
          Mockito.verify(log).setMDC(expectedMap);
      }
test_case.class_method_signature: ConnectionLogUtilTest.enhanceLogWithCorrelationIdAndConnectionId1()
test_case.full_signature: @Test public void enhanceLogWithCorrelationIdAndConnectionId1()
test_case.identifier: enhanceLogWithCorrelationIdAndConnectionId1
test_case.invocations: put put enhanceLogWithCorrelationIdAndConnectionId setMDC verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void enhanceLogWithCorrelationIdAndConnectionId1()
focal_class.declarator: MDC_CONNECTION_ID = ConnectivityMdcEntryKey.CONNECTION_ID.toString()
focal_class.modifier: private static final
focal_class.original_string: private static final String MDC_CONNECTION_ID = ConnectivityMdcEntryKey.CONNECTION_ID.toString();
focal_class.type: String
focal_class.var_name: MDC_CONNECTION_ID
focal_class.file: services/connectivity/util/src/main/java/org/eclipse/ditto/services/connectivity/util/ConnectionLogUtil.java
focal_class.identifier: ConnectionLogUtil
focal_class.class_method_signature: ConnectionLogUtil.ConnectionLogUtil()
focal_class.full_signature: private  ConnectionLogUtil()
focal_class.identifier: ConnectionLogUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConnectionLogUtil()
focal_class.class_method_signature: ConnectionLogUtil.enhanceLogWithConnectionId(final CharSequence connectionId)
focal_class.full_signature: public static void enhanceLogWithConnectionId(final CharSequence connectionId)
focal_class.identifier: enhanceLogWithConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence connectionId)
focal_class.return: void
focal_class.signature: void enhanceLogWithConnectionId(final CharSequence connectionId)
focal_class.class_method_signature: ConnectionLogUtil.enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)
focal_class.full_signature: public static void enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)
focal_class.identifier: enhanceLogWithCorrelationIdAndConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final String correlationId,
              final CharSequence connectionId)
focal_class.return: void
focal_class.signature: void enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)
focal_class.class_method_signature: ConnectionLogUtil.enhanceLogWithConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final CharSequence connectionId)
focal_class.full_signature: public static void enhanceLogWithConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final CharSequence connectionId)
focal_class.identifier: enhanceLogWithConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final DiagnosticLoggingAdapter loggingAdapter,
              final CharSequence connectionId)
focal_class.return: void
focal_class.signature: void enhanceLogWithConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final CharSequence connectionId)
focal_class.class_method_signature: ConnectionLogUtil.removeConnectionId(final DiagnosticLoggingAdapter loggingAdapter)
focal_class.full_signature: public static void removeConnectionId(final DiagnosticLoggingAdapter loggingAdapter)
focal_class.identifier: removeConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final DiagnosticLoggingAdapter loggingAdapter)
focal_class.return: void
focal_class.signature: void removeConnectionId(final DiagnosticLoggingAdapter loggingAdapter)
focal_class.class_method_signature: ConnectionLogUtil.enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final WithDittoHeaders<?> signal,
              final CharSequence connectionId)
focal_class.full_signature: public static void enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final WithDittoHeaders<?> signal,
              final CharSequence connectionId)
focal_class.identifier: enhanceLogWithCorrelationIdAndConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final DiagnosticLoggingAdapter loggingAdapter,
              final WithDittoHeaders<?> signal,
              final CharSequence connectionId)
focal_class.return: void
focal_class.signature: void enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final WithDittoHeaders<?> signal,
              final CharSequence connectionId)
focal_class.class_method_signature: ConnectionLogUtil.enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final String correlationId,
              final CharSequence connectionId)
focal_class.full_signature: public static void enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final String correlationId,
              final CharSequence connectionId)
focal_class.identifier: enhanceLogWithCorrelationIdAndConnectionId
focal_class.modifiers: public static
focal_class.parameters: (final DiagnosticLoggingAdapter loggingAdapter,
              final String correlationId,
              final CharSequence connectionId)
focal_class.return: void
focal_class.signature: void enhanceLogWithCorrelationIdAndConnectionId(final DiagnosticLoggingAdapter loggingAdapter,
              final String correlationId,
              final CharSequence connectionId)
focal_method.body: public static void enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId) {
          enhanceLogWithConnectionId(connectionId);
          LogUtil.enhanceLogWithCorrelationId(correlationId);
      }
focal_method.class_method_signature: ConnectionLogUtil.enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)
focal_method.full_signature: public static void enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)
focal_method.identifier: enhanceLogWithCorrelationIdAndConnectionId
focal_method.invocations: enhanceLogWithConnectionId enhanceLogWithCorrelationId
focal_method.modifiers: public static
focal_method.parameters: (final String correlationId,
              final CharSequence connectionId)
focal_method.return: void
focal_method.signature: void enhanceLogWithCorrelationIdAndConnectionId(final String correlationId,
              final CharSequence connectionId)