KIntent
This class is intended to be used when you need to check if some intent has been sent or to mock specific intent with result
Parameters
builder
Builder for intent matching
Functions
Link copied to clipboard
Checks if this intent has been sent previously
Link copied to clipboard
Mocks next coming intent that will match with provided result. If no result provided as parameter, function will look up default one set via withResult() in IntentBuilder. If none are present, IllegalStateException will be thrown
Mocks next coming intent that will match with provided result.