public final class OngoingStubbing


Supports method chaining after @Intents#intending method call.

Summary

Public methods

void

Sets a response for the intent being stubbed.

void

Sets a response callable for the intent being stubbed.

Public methods

respondWith

public void respondWith(Instrumentation.ActivityResult result)

Sets a response for the intent being stubbed.

respondWithFunction

public void respondWithFunction(ActivityResultFunction result)

Sets a response callable for the intent being stubbed.