public void putString(String key, String str) {
        checkNotNull(key);
        checkNotNull(str);
        put(key, str);
    }
@Test
    void testArrayInvalidValues() {
        DescriptorProperties properties = new DescriptorProperties();
        properties.putString(ARRAY_KEY + ".0", "12");
        properties.putString(ARRAY_KEY + ".1", "66");
        properties.putString(ARRAY_KEY + ".2", "INVALID");

        assertThatThrownBy(() -> testArrayValidation(properties, 1, Integer.MAX_VALUE))
                .isInstanceOf(ValidationException.class);
    }