Searched defs:whenever (Results 1 – 5 of 5) sorted by relevance
28 fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method30 fun <T> Stubber.whenever(mock: T): T = `when`(mock) method
29 fun <Type> whenever(mock: Type) = Mockito.`when`(mock) in whenever() method35 fun <Type> whenever(mock: Type, block: InvocationOnMock.() -> Type) = in whenever() method
189 inline fun <T> whenever(methodCall: T): OngoingStubbing<T> = Mockito.`when`(methodCall) in anyArray() method208 inline fun <T> Stubber.whenever(mock: T): T = `when`(mock) in anyArray() method
255 fun ConditionalUsage.whenever(vararg usageTypes: UsageType): PolicyFieldBuilder { in build() method in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder
403 private fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method in com.android.settings.fingerprint2.domain.interactor.FingerprintManagerInteractorTest