OngoingStubbing
class OngoingStubbing
Supports method chaining after @Intents#intending method call.
Summary
Public functions |
|
|---|---|
Unit |
respondWith(result: Instrumentation.ActivityResult!)Sets a response for the intent being stubbed. |
Unit |
respondWithFunction(result: ActivityResultFunction!)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.