test_class.declarator: validJsonArrayString
test_class.modifier: private static
test_class.original_string: private static CharSequence validJsonArrayString;
test_class.type: CharSequence
test_class.var_name: validJsonArrayString
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/headers/JsonArrayValueValidatorTest.java
test_class.identifier: JsonArrayValueValidatorTest
test_case.body: @Test
      public void acceptJsonArrayStringWithNonStringItems() {
          final DittoHeaderDefinition headerDefinition = DittoHeaderDefinition.REQUESTED_ACKS;
          final JsonArray invalidJsonArray = JsonArray.newBuilder()
                  .add("foo")
                  .add(42)
                  .add(true)
                  .build();
          final String invalidJsonArrayString = invalidJsonArray.toString();
          final JsonArrayValueValidator underTest = JsonArrayValueValidator.getInstance();
  
          assertThatExceptionOfType(DittoHeaderInvalidException.class)
                  .isThrownBy(() -> underTest.accept(headerDefinition, invalidJsonArrayString))
                  .withMessageContaining(headerDefinition.getKey())
                  .withMessageEndingWith("contained non-string values!")
                  .withNoCause();
      }
test_case.class_method_signature: JsonArrayValueValidatorTest.acceptJsonArrayStringWithNonStringItems()
test_case.full_signature: @Test public void acceptJsonArrayStringWithNonStringItems()
test_case.identifier: acceptJsonArrayStringWithNonStringItems
test_case.invocations: build add add add newBuilder toString getInstance withNoCause withMessageEndingWith withMessageContaining isThrownBy assertThatExceptionOfType accept getKey
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void acceptJsonArrayStringWithNonStringItems()
focal_class.declarator: INSTANCE = new JsonArrayValueValidator()
focal_class.modifier: private static final
focal_class.original_string: private static final JsonArrayValueValidator INSTANCE = new JsonArrayValueValidator();
focal_class.type: JsonArrayValueValidator
focal_class.var_name: INSTANCE
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/headers/JsonArrayValueValidator.java
focal_class.identifier: JsonArrayValueValidator
focal_class.class_method_signature: JsonArrayValueValidator.JsonArrayValueValidator()
focal_class.full_signature: private  JsonArrayValueValidator()
focal_class.identifier: JsonArrayValueValidator
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JsonArrayValueValidator()
focal_class.class_method_signature: JsonArrayValueValidator.getInstance()
focal_class.full_signature: static JsonArrayValueValidator getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: JsonArrayValueValidator
focal_class.signature: JsonArrayValueValidator getInstance()
focal_class.class_method_signature: JsonArrayValueValidator.validateValue(final HeaderDefinition definition, final CharSequence value)
focal_class.full_signature: @Override protected void validateValue(final HeaderDefinition definition, final CharSequence value)
focal_class.identifier: validateValue
focal_class.modifiers: @Override protected
focal_class.parameters: (final HeaderDefinition definition, final CharSequence value)
focal_class.return: void
focal_class.signature: void validateValue(final HeaderDefinition definition, final CharSequence value)
focal_class.class_method_signature: JsonArrayValueValidator.tryToParseJsonArray(final HeaderDefinition definition, final String value)
focal_class.full_signature: private static JsonArray tryToParseJsonArray(final HeaderDefinition definition, final String value)
focal_class.identifier: tryToParseJsonArray
focal_class.modifiers: private static
focal_class.parameters: (final HeaderDefinition definition, final String value)
focal_class.return: JsonArray
focal_class.signature: JsonArray tryToParseJsonArray(final HeaderDefinition definition, final String value)
focal_class.class_method_signature: JsonArrayValueValidator.containsNonStringArrayValues(final Iterable<JsonValue> jsonArray)
focal_class.full_signature: private static boolean containsNonStringArrayValues(final Iterable<JsonValue> jsonArray)
focal_class.identifier: containsNonStringArrayValues
focal_class.modifiers: private static
focal_class.parameters: (final Iterable<JsonValue> jsonArray)
focal_class.return: boolean
focal_class.signature: boolean containsNonStringArrayValues(final Iterable<JsonValue> jsonArray)
focal_class.superclass: extends AbstractHeaderValueValidator
focal_method.body: static JsonArrayValueValidator getInstance() {
          return INSTANCE;
      }
focal_method.class_method_signature: JsonArrayValueValidator.getInstance()
focal_method.full_signature: static JsonArrayValueValidator getInstance()
focal_method.identifier: getInstance
focal_method.modifiers: static
focal_method.parameters: ()
focal_method.return: JsonArrayValueValidator
focal_method.signature: JsonArrayValueValidator getInstance()