### Question:
Validator { @Override public String toString() { return getClass().getSimpleName() + defaultProps; } Validator();  Validator(Object...keyValues); void setErrorList(List<ValidationError> errors); void preValidate(Sentence sentence); void preValidate(Section section); void preValidate(Document document); void validate(Document document); void validate(Sentence sentence); void validate(Section section); List<String> getSupportedLanguages(); void preInit(ValidatorConfiguration config, Configuration globalConfig); @Deprecated Map<String, String> getConfigAttributes(); Map<String, Object> getProperties(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test void testToString() throws Exception { assertEquals("ValidationErrorMessageTest{}", new ValidationErrorMessageTest().toString()); assertEquals("ValidationErrorMessageTest{hello=123}", new ValidationErrorMessageTest("hello", 123).toString()); }