public void validateAll(final Map<String, Object> properties) {
    final Set<String> propsDenied = Sets.intersection(immutableProps, properties.keySet());
    if (!propsDenied.isEmpty()) {
      throw new KsqlException(String.format("One or more properties overrides set locally are "
          + "prohibited by the KSQL server (use UNSET to reset their default value): %s",
          propsDenied));
    }
  }
@Test
  public void shouldNotThrowOnAllowedProp() {
    validator.validateAll(ImmutableMap.of(
        "mutable-1", "v1",
        "anything", "v2"
    ));
  }