test_class.declarator: HEADER_KEY = "header-key"
test_class.modifier: private static final
test_class.original_string: private static final String HEADER_KEY = "header-key";
test_class.type: String
test_class.var_name: HEADER_KEY
test_class.declarator: headerDefinition
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private HeaderDefinition headerDefinition;
test_class.type: HeaderDefinition
test_class.var_name: headerDefinition
test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private HeaderValueValidator underTest;
test_class.type: HeaderValueValidator
test_class.var_name: underTest
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/headers/HeaderValueValidatorTest.java
test_class.identifier: HeaderValueValidatorTest
test_case.body: @Test
      public void validBooleanStringValue() {
          Mockito.when(headerDefinition.getJavaType()).thenReturn(boolean.class);
          final String value = String.valueOf(Boolean.TRUE);
  
          try {
              underTest.accept(headerDefinition, value);
          } catch (final Throwable t) {
              fail(value + " is a valid boolean representation!");
          }
      }
test_case.class_method_signature: HeaderValueValidatorTest.validBooleanStringValue()
test_case.full_signature: @Test public void validBooleanStringValue()
test_case.identifier: validBooleanStringValue
test_case.invocations: thenReturn when getJavaType valueOf accept fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validBooleanStringValue()
focal_class.declarator: INSTANCE = new HeaderValueValidator()
focal_class.modifier: private static final
focal_class.original_string: private static final HeaderValueValidator INSTANCE = new HeaderValueValidator();
focal_class.type: HeaderValueValidator
focal_class.var_name: INSTANCE
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/headers/HeaderValueValidator.java
focal_class.identifier: HeaderValueValidator
focal_class.interfaces: implements BiConsumer<HeaderDefinition, CharSequence>
focal_class.class_method_signature: HeaderValueValidator.HeaderValueValidator()
focal_class.full_signature: private  HeaderValueValidator()
focal_class.identifier: HeaderValueValidator
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  HeaderValueValidator()
focal_class.class_method_signature: HeaderValueValidator.getInstance()
focal_class.full_signature: public static HeaderValueValidator getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: HeaderValueValidator
focal_class.signature: HeaderValueValidator getInstance()
focal_class.class_method_signature: HeaderValueValidator.accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_class.full_signature: @Override public void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_class.identifier: accept
focal_class.modifiers: @Override public
focal_class.parameters: (@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_class.return: void
focal_class.signature: void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_method.body: @Override
      public void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence) {
          final ValueValidator validatorChain = HeaderValueValidators.getIntValidator()
                  .andThen(HeaderValueValidators.getLongValidator())
                  .andThen(HeaderValueValidators.getBooleanValidator())
                  .andThen(HeaderValueValidators.getJsonArrayValidator())
                  .andThen(HeaderValueValidators.getEntityTagValidator())
                  .andThen(HeaderValueValidators.getEntityTagMatchersValidator());
  
          validatorChain.accept(definition, charSequence);
      }
focal_method.class_method_signature: HeaderValueValidator.accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_method.full_signature: @Override public void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_method.identifier: accept
focal_method.invocations: andThen andThen andThen andThen andThen getIntValidator getLongValidator getBooleanValidator getJsonArrayValidator getEntityTagValidator getEntityTagMatchersValidator accept
focal_method.modifiers: @Override public
focal_method.parameters: (@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)
focal_method.return: void
focal_method.signature: void accept(@Nonnull final HeaderDefinition definition, @Nullable final CharSequence charSequence)