strikt-jvm / strikt.java / strikt.api.Assertion.Builder / propertiesAreEqualTo

propertiesAreEqualTo

infix fun <T : Any> Builder<T>.propertiesAreEqualTo(other: T): Builder<T>

Asserts that all properties of the subject match those of other according to either contentEquals in the case of array properties or isEqualTo in other cases.

Properties are identified using Java beans conventions.