You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected string mismatch expected <zxF> but was <Person[name: OxoL]>
java.lang.AssertionError: Expected string mismatch expected <zxF> but was <Person[name: OxoL]>
at com.openpojo.validation.affirm.JavaAssertionAffirmation.fail(JavaAssertionAffirmation.java:33)
at com.openpojo.validation.affirm.JavaAssertionAffirmation.affirmEquals(JavaAssertionAffirmation.java:72)
at com.openpojo.validation.affirm.Affirm.affirmEquals(Affirm.java:75)
at com.openpojo.validation.test.impl.ToStringTester.run(ToStringTester.java:41)
at com.openpojo.validation.utils.ValidationHelper.runValidation(ValidationHelper.java:102)
at com.openpojo.validation.impl.DefaultValidator.validate(DefaultValidator.java:46)
I thing this is a generic error. On ToStringTester class the test compares instance to string with a random text which will be every time false.
I wish to test an override toString method :
I got an assertion error:
I thing this is a generic error. On ToStringTester class the test compares instance to string with a random text which will be every time false.
The text was updated successfully, but these errors were encountered: