@Override
    // The set of valid retention strategies must
    // - contain only names of supported strategies
    // - at least one must stay enabled
    public void validate(String parameter, Set<String> values) throws ValidationException {

        if (!values.stream()
                .filter(s -> !VALID_STRATEGIES.contains(s) && !ARCHIVE_RETENTION_STRATEGY.equals(s))
                .collect(Collectors.toSet()).isEmpty()) {
            throw new ValidationException("Parameter " + parameter + " contains invalid values: " + values);
        }

        if (values.containsAll(VALID_STRATEGIES)) {
            throw new ValidationException(parameter + ":" + values + " At least one retention of the following [none, close, delete], should stay enabled!");
        }
    }
@Test
    void failDisableAll() {
        assertThrows(ValidationException.class, () -> {
            classUnderTest.validate(PARAM, Set.of("none", "close", "delete"));
        });
    }