test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/CheckExternalFilterTest.java
test_class.identifier: CheckExternalFilterTest
test_case.body: @Test
      public void tryToGetShouldWriteToExternalInstanceWithNullHeaderDefinitions() {
          assertThatNullPointerException()
                  .isThrownBy(() -> CheckExternalFilter.shouldWriteToExternal(null))
                  .withMessage("The headerDefinitions must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: CheckExternalFilterTest.tryToGetShouldWriteToExternalInstanceWithNullHeaderDefinitions()
test_case.full_signature: @Test public void tryToGetShouldWriteToExternalInstanceWithNullHeaderDefinitions()
test_case.identifier: tryToGetShouldWriteToExternalInstanceWithNullHeaderDefinitions
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException shouldWriteToExternal
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetShouldWriteToExternalInstanceWithNullHeaderDefinitions()
focal_class.declarator: headerDefinitions
focal_class.modifier: private final
focal_class.original_string: private final Map<String, HeaderDefinition> headerDefinitions;
focal_class.type: Map<String, HeaderDefinition>
focal_class.var_name: headerDefinitions
focal_class.declarator: headerDefinitionPredicate
focal_class.modifier: private final
focal_class.original_string: private final Predicate<HeaderDefinition> headerDefinitionPredicate;
focal_class.type: Predicate<HeaderDefinition>
focal_class.var_name: headerDefinitionPredicate
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/CheckExternalFilter.java
focal_class.identifier: CheckExternalFilter
focal_class.class_method_signature: CheckExternalFilter.CheckExternalFilter(final Map<String, HeaderDefinition> headerDefinitions,
              final Predicate<HeaderDefinition> headerDefinitionPredicate)
focal_class.full_signature: private  CheckExternalFilter(final Map<String, HeaderDefinition> headerDefinitions,
              final Predicate<HeaderDefinition> headerDefinitionPredicate)
focal_class.identifier: CheckExternalFilter
focal_class.modifiers: private
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions,
              final Predicate<HeaderDefinition> headerDefinitionPredicate)
focal_class.signature:  CheckExternalFilter(final Map<String, HeaderDefinition> headerDefinitions,
              final Predicate<HeaderDefinition> headerDefinitionPredicate)
focal_class.class_method_signature: CheckExternalFilter.shouldReadFromExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.full_signature: public static CheckExternalFilter shouldReadFromExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.identifier: shouldReadFromExternal
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_class.return: CheckExternalFilter
focal_class.signature: CheckExternalFilter shouldReadFromExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.class_method_signature: CheckExternalFilter.shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.full_signature: public static CheckExternalFilter shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.identifier: shouldWriteToExternal
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_class.return: CheckExternalFilter
focal_class.signature: CheckExternalFilter shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.class_method_signature: CheckExternalFilter.existsAsHeaderDefinition(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.full_signature: public static CheckExternalFilter existsAsHeaderDefinition(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.identifier: existsAsHeaderDefinition
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_class.return: CheckExternalFilter
focal_class.signature: CheckExternalFilter existsAsHeaderDefinition(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.class_method_signature: CheckExternalFilter.isNull()
focal_class.full_signature: private static Predicate<HeaderDefinition> isNull()
focal_class.identifier: isNull
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: Predicate<HeaderDefinition>
focal_class.signature: Predicate<HeaderDefinition> isNull()
focal_class.class_method_signature: CheckExternalFilter.filterValue(final String key, final String value)
focal_class.full_signature: @Nullable @Override protected String filterValue(final String key, final String value)
focal_class.identifier: filterValue
focal_class.modifiers: @Nullable @Override protected
focal_class.parameters: (final String key, final String value)
focal_class.return: String
focal_class.signature: String filterValue(final String key, final String value)
focal_class.superclass: extends AbstractHeaderEntryFilter
focal_method.body: public static CheckExternalFilter shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions) {
          return new CheckExternalFilter(headerDefinitions,
                  isNull().or(HeaderDefinition::shouldWriteToExternalHeaders));
      }
focal_method.class_method_signature: CheckExternalFilter.shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_method.full_signature: public static CheckExternalFilter shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)
focal_method.identifier: shouldWriteToExternal
focal_method.invocations: or isNull
focal_method.modifiers: public static
focal_method.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_method.return: CheckExternalFilter
focal_method.signature: CheckExternalFilter shouldWriteToExternal(final Map<String, HeaderDefinition> headerDefinitions)