Let's say I have a class with some function: ```c...
# mockk
a
Let's say I have a class with some function:
Copy code
class 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:
Copy code
every { barMock.foo } returns "Something Else"
g
you have to provide all
barMock.foo(any(), any(), any())