assertk.assertions / isEqualToIgnoringGivenProperties

isEqualToIgnoringGivenProperties

fun <T : Any> <ERROR CLASS><T>.isEqualToIgnoringGivenProperties(other: T, vararg properties: KProperty1<T, Any>): Unit

Platform and version requirements: JVM

Returns an assert that compares for all properties except the given properties on the calling class

Parameters

other - Other value to compare to

properties - properties of the type with which been ignored