{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class IntentStubberRegistry
Exposes an implementation of IntentStubber.
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
java-static Boolean |
isLoaded() |
java-static Unit |
load(intentStubber: IntentStubber!)Loads an |
synchronized java-static Unit |
reset()Clears the current instance of Intent Stubber. |
Public properties |
|
|---|---|
java-static IntentStubber! |
|
java-static fun load(intentStubber: IntentStubber!): Unit
Loads an IntentStubber into this registry. There can only be one active stubber at a time.
Calling this method multiple times in the same instrumentation will result in an exception.
This method can be called from any thread.