@Test public void shouldAcceptEmptyListOfAllowedClasses() { validator.setAllowedClasses(""); assertThat(validator.allowedClasses).isEmpty(); }
@Override public void setAllowedClasses(String deserializationAllowedClasses) { extractElements(deserializationAllowedClasses, allowedClasses); }
DefaultDeserializationTypeValidator implements WhitelistingDeserializationTypeValidator { @Override public void setAllowedClasses(String deserializationAllowedClasses) { extractElements(deserializationAllowedClasses, allowedClasses); } }
DefaultDeserializationTypeValidator implements WhitelistingDeserializationTypeValidator { @Override public void setAllowedClasses(String deserializationAllowedClasses) { extractElements(deserializationAllowedClasses, allowedClasses); }  }
DefaultDeserializationTypeValidator implements WhitelistingDeserializationTypeValidator { @Override public void setAllowedClasses(String deserializationAllowedClasses) { extractElements(deserializationAllowedClasses, allowedClasses); }  @Override void setAllowedClasses(String deserializationAllowedClasses); @Override void setAllowedPackages(String deserializationAllowedPackages); @Override boolean validate(String className); }
DefaultDeserializationTypeValidator implements WhitelistingDeserializationTypeValidator { @Override public void setAllowedClasses(String deserializationAllowedClasses) { extractElements(deserializationAllowedClasses, allowedClasses); }  @Override void setAllowedClasses(String deserializationAllowedClasses); @Override void setAllowedPackages(String deserializationAllowedPackages); @Override boolean validate(String className);  }