or

inline fun <T> ArgMatchersScope.or(first: T, second: T, vararg moreMatchers: T): T

Matches argument that satisfies any matcher (first, second or any from moreMatchers). It must not receive literals. Only matchers allowed!

// matches every `getForIndex` with arg that is equal 2 or 4
every { dependency.getForIndex(or(eq(1), eq(4))) }