Stay organized with collections Save and categorize content based on your preferences.

OngoingStubbing

public final class OngoingStubbing


Supports method chaining after @Intents#intending method call.

Summary

Public constructors

Public methods

void
respondWith(ActivityResult result)

Sets a response for the intent being stubbed.

void

Sets a response callable for the intent being stubbed.

Public constructors

OngoingStubbing

public OngoingStubbing()

Public methods

respondWith

public void respondWith(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.