{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

VerificationMode

interface VerificationMode


An interface for different modes of verifying intents.

Summary

Public functions

Unit
verify(
    matcher: Matcher<Intent>!,
    recordedIntents: (Mutable)List<VerifiableIntent!>!
)

Verifies the recorded intents that match the provided Matcher.

Public functions

verify

fun verify(
    matcher: Matcher<Intent>!,
    recordedIntents: (Mutable)List<VerifiableIntent!>!
): Unit

Verifies the recorded intents that match the provided Matcher. No intents should be marked as verified unless the verification passes.