During a test calling
assertThat(this.object, hasProperty("isArchive")) fails
I have debugged it and the property.getName() is getting either renamed or detected to "archive" for some reason when it's doing the comparison. Renaming the property to "archive" fixes my unit which doesn't make sense.
I have a class with
boolean isArchive
During a test calling
assertThat(this.object, hasProperty("isArchive"))
failsI have debugged it and the property.getName() is getting either renamed or detected to "archive" for some reason when it's doing the comparison. Renaming the property to "archive" fixes my unit which doesn't make sense.