How could I iterate through two Sets (order indepe...
# announcements
m
How could I iterate through two Sets (order independent lists)
Copy code
val softly = SoftAssertions()
        customerListResponse.customerList?.zip(customerListReferenceResponse.customerList).forEach {
            (resp,refResp) -> softly.assertThat(resp).isEqualToIgnoringGivenFields(refResp, "name")

        }
        softly.assertAll()