Arnab
07/09/2025, 8:36 AMclass Bar {
fun foo(arg1: String, arg2: String? = null) = "Hello World"
}
How can I mock this without providing matchers for all arguments in the function? Essentially I want to do something like this:
every { barMock.foo } returns "Something Else"
gildor
07/09/2025, 9:46 AMgildor
07/09/2025, 9:46 AM