There is a class:
data class A(
var id: Long = 0,
var date: String? = null,
var age: Long,
var sex: String? = null,
var city: String? = null
)
Object: val obj = A(id = 5, age = 22, sex = "male", city = "Example city")
There is a map:
val map = mapOf("age" to 22, "city" to "Example city")
How to compare map and object using kotest? so that they are equal