test_class.declarator: DEFAULT_OPTIONS = JsonObject.newBuilder().set("default", "option").build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject DEFAULT_OPTIONS = JsonObject.newBuilder().set("default", "option").build();
test_class.type: JsonObject
test_class.var_name: DEFAULT_OPTIONS
test_class.declarator: mockMapper
test_class.modifier: private
test_class.original_string: private MessageMapper mockMapper;
test_class.type: MessageMapper
test_class.var_name: mockMapper
test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private MessageMapper underTest;
test_class.type: MessageMapper
test_class.var_name: underTest
test_class.declarator: mockConfiguration
test_class.modifier: private
test_class.original_string: private MessageMapperConfiguration mockConfiguration;
test_class.type: MessageMapperConfiguration
test_class.var_name: mockConfiguration
test_class.declarator: mockMessage
test_class.modifier: private
test_class.original_string: private ExternalMessage mockMessage;
test_class.type: ExternalMessage
test_class.var_name: mockMessage
test_class.declarator: mockAdaptable
test_class.modifier: private
test_class.original_string: private Adaptable mockAdaptable;
test_class.type: Adaptable
test_class.var_name: mockAdaptable
test_class.declarator: mapperLimitsConfig
test_class.modifier: private
test_class.original_string: private MappingConfig mapperLimitsConfig;
test_class.type: MappingConfig
test_class.var_name: mapperLimitsConfig
test_class.declarator: exception = ExpectedException.none()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final ExpectedException exception = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: exception
test_class.file: services/connectivity/mapping/src/test/java/org/eclipse/ditto/services/connectivity/mapping/WrappingMessageMapperTest.java
test_class.identifier: WrappingMessageMapperTest
test_case.body: @Test
      public void configure() {
          when(mockConfiguration.getContentTypeBlocklist()).thenReturn(Collections.singletonList("blockedContentType"));
  
          underTest.configure(mapperLimitsConfig, mockConfiguration);
          verify(mockMapper).configure(mapperLimitsConfig, mockConfiguration);
      }
test_case.class_method_signature: WrappingMessageMapperTest.configure()
test_case.full_signature: @Test public void configure()
test_case.identifier: configure
test_case.invocations: thenReturn when getContentTypeBlocklist singletonList configure configure verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void configure()
focal_class.declarator: inboundMessageLimit
focal_class.modifier: private
focal_class.original_string: private int inboundMessageLimit;
focal_class.type: int
focal_class.var_name: inboundMessageLimit
focal_class.declarator: outboundMessageLimit
focal_class.modifier: private
focal_class.original_string: private int outboundMessageLimit;
focal_class.type: int
focal_class.var_name: outboundMessageLimit
focal_class.declarator: delegate
focal_class.modifier: private final
focal_class.original_string: private final MessageMapper delegate;
focal_class.type: MessageMapper
focal_class.var_name: delegate
focal_class.file: services/connectivity/mapping/src/main/java/org/eclipse/ditto/services/connectivity/mapping/WrappingMessageMapper.java
focal_class.identifier: WrappingMessageMapper
focal_class.interfaces: implements MessageMapper
focal_class.class_method_signature: WrappingMessageMapper.WrappingMessageMapper(final MessageMapper delegate)
focal_class.full_signature: private  WrappingMessageMapper(final MessageMapper delegate)
focal_class.identifier: WrappingMessageMapper
focal_class.modifiers: private
focal_class.parameters: (final MessageMapper delegate)
focal_class.signature:  WrappingMessageMapper(final MessageMapper delegate)
focal_class.class_method_signature: WrappingMessageMapper.wrap(final MessageMapper mapper)
focal_class.full_signature: public static MessageMapper wrap(final MessageMapper mapper)
focal_class.identifier: wrap
focal_class.modifiers: public static
focal_class.parameters: (final MessageMapper mapper)
focal_class.return: MessageMapper
focal_class.signature: MessageMapper wrap(final MessageMapper mapper)
focal_class.class_method_signature: WrappingMessageMapper.getId()
focal_class.full_signature: @Override public String getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: WrappingMessageMapper.getContentTypeBlocklist()
focal_class.full_signature: @Override public Collection<String> getContentTypeBlocklist()
focal_class.identifier: getContentTypeBlocklist
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<String>
focal_class.signature: Collection<String> getContentTypeBlocklist()
focal_class.class_method_signature: WrappingMessageMapper.getDefaultOptions()
focal_class.full_signature: @Override public JsonObject getDefaultOptions()
focal_class.identifier: getDefaultOptions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject getDefaultOptions()
focal_class.class_method_signature: WrappingMessageMapper.getIncomingConditions()
focal_class.full_signature: @Override public Map<String, String> getIncomingConditions()
focal_class.identifier: getIncomingConditions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getIncomingConditions()
focal_class.class_method_signature: WrappingMessageMapper.getOutgoingConditions()
focal_class.full_signature: @Override public Map<String, String> getOutgoingConditions()
focal_class.identifier: getOutgoingConditions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getOutgoingConditions()
focal_class.class_method_signature: WrappingMessageMapper.getDelegate()
focal_class.full_signature: public MessageMapper getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MessageMapper
focal_class.signature: MessageMapper getDelegate()
focal_class.class_method_signature: WrappingMessageMapper.configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_class.full_signature: @Override public void configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_class.return: void
focal_class.signature: void configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_class.class_method_signature: WrappingMessageMapper.map(final ExternalMessage message)
focal_class.full_signature: @Override public List<Adaptable> map(final ExternalMessage message)
focal_class.identifier: map
focal_class.modifiers: @Override public
focal_class.parameters: (final ExternalMessage message)
focal_class.return: List<Adaptable>
focal_class.signature: List<Adaptable> map(final ExternalMessage message)
focal_class.class_method_signature: WrappingMessageMapper.map(final Adaptable adaptable)
focal_class.full_signature: @Override public List<ExternalMessage> map(final Adaptable adaptable)
focal_class.identifier: map
focal_class.modifiers: @Override public
focal_class.parameters: (final Adaptable adaptable)
focal_class.return: List<ExternalMessage>
focal_class.signature: List<ExternalMessage> map(final Adaptable adaptable)
focal_class.class_method_signature: WrappingMessageMapper.checkMaxMappedMessagesLimit(final List<T> mappingResult, final int maxMappedMessages)
focal_class.full_signature: private List<T> checkMaxMappedMessagesLimit(final List<T> mappingResult, final int maxMappedMessages)
focal_class.identifier: checkMaxMappedMessagesLimit
focal_class.modifiers: private
focal_class.parameters: (final List<T> mappingResult, final int maxMappedMessages)
focal_class.return: List<T>
focal_class.signature: List<T> checkMaxMappedMessagesLimit(final List<T> mappingResult, final int maxMappedMessages)
focal_class.class_method_signature: WrappingMessageMapper.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: WrappingMessageMapper.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: WrappingMessageMapper.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public void configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration) {
          final MapperLimitsConfig mapperLimitsConfig = mappingConfig.getMapperLimitsConfig();
          inboundMessageLimit = mapperLimitsConfig.getMaxMappedInboundMessages();
          outboundMessageLimit = mapperLimitsConfig.getMaxMappedOutboundMessages();
          delegate.configure(mappingConfig, configuration);
      }
focal_method.class_method_signature: WrappingMessageMapper.configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_method.full_signature: @Override public void configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_method.identifier: configure
focal_method.invocations: getMapperLimitsConfig getMaxMappedInboundMessages getMaxMappedOutboundMessages configure
focal_method.modifiers: @Override public
focal_method.parameters: (final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)
focal_method.return: void
focal_method.signature: void configure(final MappingConfig mappingConfig, final MessageMapperConfiguration configuration)