class OngoingStubbing


Supports method chaining after @Intents#intending method call.

Summary

Public functions

Unit

Sets a response for the intent being stubbed.

Unit

Sets a response callable for the intent being stubbed.

Public functions

respondWith

fun respondWith(result: Instrumentation.ActivityResult!): Unit

Sets a response for the intent being stubbed.

respondWithFunction

fun respondWithFunction(result: ActivityResultFunction!): Unit

Sets a response callable for the intent being stubbed.