When creating a stub or verifying a call, Mockito provides many different argument matchers. Besides
eq, the most commonly used are the “any” family:
anyString. In MockK, these variations are all replaced by a single
// TODO example class that takes object, int, string parameters. Show stub & verify for both libs.
If you want to check for any null value, or any not-null value, the
isNull matcher can be used.
isNull(inverse = true)