Hi everyone, currently using KotlinTest's property...
# announcements
k
Hi everyone, currently using KotlinTest's property based testing for unit tests and I'm wondering if there's a way to use matchers inside the lambdas I can do this:
Copy code
forAll { token: String, userId: String ->
            whenever(mockUserData.token).doReturn(token)
            whenever(mockUserData.userId).doReturn(userId)
            appRemote.authorizationHeader == "$token $userId"
}