test_class.file: services/connectivity/messaging/src/test/java/org/eclipse/ditto/services/connectivity/messaging/monitoring/logs/ConnectionLoggerFactoryTest.java
test_class.identifier: ConnectionLoggerFactoryTest
test_case.body: @Test
      @SuppressWarnings("squid:S2699")
      public void verifyAllCategoriesAndTypesRunWithoutException() {
          // make sure that developers won't forget to add new categories in the ConnectionLoggerFactory.
          // Otherwise an exception will be thrown.
  
          Arrays.stream(LogCategory.values())
                  .forEach(category -> {
                      Arrays.stream(LogType.values())
                              .forEach(type -> ConnectionLoggerFactory.newEvictingLogger(1, 1, category, type, "1"));
                  });
      }
test_case.class_method_signature: ConnectionLoggerFactoryTest.verifyAllCategoriesAndTypesRunWithoutException()
test_case.full_signature: @Test @SuppressWarnings("squid:S2699") public void verifyAllCategoriesAndTypesRunWithoutException()
test_case.identifier: verifyAllCategoriesAndTypesRunWithoutException
test_case.invocations: forEach stream values forEach stream values newEvictingLogger
test_case.modifiers: @Test @SuppressWarnings("squid:S2699") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void verifyAllCategoriesAndTypesRunWithoutException()
focal_class.declarator: EMPTY_PAYLOAD_MAPPING_MESSAGE = "Payload mapping returned null, message is dropped."
focal_class.modifier: private static final
focal_class.original_string: private static final String EMPTY_PAYLOAD_MAPPING_MESSAGE = "Payload mapping returned null, message is dropped.";
focal_class.type: String
focal_class.var_name: EMPTY_PAYLOAD_MAPPING_MESSAGE
focal_class.file: services/connectivity/messaging/src/main/java/org/eclipse/ditto/services/connectivity/messaging/monitoring/logs/ConnectionLoggerFactory.java
focal_class.identifier: ConnectionLoggerFactory
focal_class.class_method_signature: ConnectionLoggerFactory.ConnectionLoggerFactory()
focal_class.full_signature: private  ConnectionLoggerFactory()
focal_class.identifier: ConnectionLoggerFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConnectionLoggerFactory()
focal_class.class_method_signature: ConnectionLoggerFactory.newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_class.full_signature: static ConnectionLogger newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_class.identifier: newEvictingLogger
focal_class.modifiers: static
focal_class.parameters: (
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_class.return: ConnectionLogger
focal_class.signature: ConnectionLogger newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_class.class_method_signature: ConnectionLoggerFactory.newMuteableLogger(final ConnectionId connectionId, final ConnectionLogger delegate)
focal_class.full_signature: static MuteableConnectionLogger newMuteableLogger(final ConnectionId connectionId, final ConnectionLogger delegate)
focal_class.identifier: newMuteableLogger
focal_class.modifiers: static
focal_class.parameters: (final ConnectionId connectionId, final ConnectionLogger delegate)
focal_class.return: MuteableConnectionLogger
focal_class.signature: MuteableConnectionLogger newMuteableLogger(final ConnectionId connectionId, final ConnectionLogger delegate)
focal_class.class_method_signature: ConnectionLoggerFactory.newSourceLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.full_signature: private static ConnectionLogger newSourceLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.identifier: newSourceLogger
focal_class.modifiers: private static
focal_class.parameters: (final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.return: ConnectionLogger
focal_class.signature: ConnectionLogger newSourceLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.class_method_signature: ConnectionLoggerFactory.newTargetLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.full_signature: private static ConnectionLogger newTargetLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.identifier: newTargetLogger
focal_class.modifiers: private static
focal_class.parameters: (final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.return: ConnectionLogger
focal_class.signature: ConnectionLogger newTargetLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.class_method_signature: ConnectionLoggerFactory.newResponseLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.full_signature: private static ConnectionLogger newResponseLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.identifier: newResponseLogger
focal_class.modifiers: private static
focal_class.parameters: (final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.return: ConnectionLogger
focal_class.signature: ConnectionLogger newResponseLogger(final LogType type, final int successCapacity,
              final int failureCapacity,
              @Nullable final String address)
focal_class.class_method_signature: ConnectionLoggerFactory.newConnectionLogger(final LogType type, final int successCapacity, final int failureCapacity,
              @Nullable final String address)
focal_class.full_signature: private static ConnectionLogger newConnectionLogger(final LogType type, final int successCapacity, final int failureCapacity,
              @Nullable final String address)
focal_class.identifier: newConnectionLogger
focal_class.modifiers: private static
focal_class.parameters: (final LogType type, final int successCapacity, final int failureCapacity,
              @Nullable final String address)
focal_class.return: ConnectionLogger
focal_class.signature: ConnectionLogger newConnectionLogger(final LogType type, final int successCapacity, final int failureCapacity,
              @Nullable final String address)
focal_method.body: static ConnectionLogger newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address) {
  
          switch (logCategory) {
              case SOURCE:
                  return newSourceLogger(logType, successCapacity, failureCapacity, address);
              case TARGET:
                  return newTargetLogger(logType, successCapacity, failureCapacity, address);
              case RESPONSE:
                  return newResponseLogger(logType, successCapacity, failureCapacity, address);
              case CONNECTION:
                  return newConnectionLogger(logType, successCapacity, failureCapacity, address);
              default:
                  throw new AssertionError("Missing switch case.");
          }
  
      }
focal_method.class_method_signature: ConnectionLoggerFactory.newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_method.full_signature: static ConnectionLogger newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_method.identifier: newEvictingLogger
focal_method.invocations: newSourceLogger newTargetLogger newResponseLogger newConnectionLogger
focal_method.modifiers: static
focal_method.parameters: (
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)
focal_method.return: ConnectionLogger
focal_method.signature: ConnectionLogger newEvictingLogger(
              final int successCapacity, final int failureCapacity,
              final LogCategory logCategory, final LogType logType,
              @Nullable final String address)