VerificationRule

Rule for checking how often a com.splendo.kaluga.test.base.mock.BaseMethodMock can be called

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Exactly(val times: Int) : VerificationRule
Link copied to clipboard
data object Never : VerificationRule
Link copied to clipboard
data class Range(val range: IntRange) : VerificationRule

Functions

Link copied to clipboard
abstract fun matches(times: Int): Boolean

Checks if the number of times a mock was called matches the verification rule