# VerificationMode

Artifact: [androidx.test.espresso:espresso-intents](https://developer.android.com/jetpack/androidx/releases/test-espresso) [View Source](https://cs.android.com/search?q=file:androidx/test/espresso/intent/VerificationMode.java+class:androidx.test.espresso.intent.VerificationMode)

*** ** * ** ***


```
public interface VerificationMode
```

<br />

*** ** * ** ***

An interface for different modes of verifying intents.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/test/espresso/intent/VerificationMode#verify(org.hamcrest.Matcher<android.content.Intent>,java.util.List<androidx.test.espresso.intent.VerifiableIntent>)(https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/android/content/Intent.html> matcher, https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/test/espresso/intent/VerifiableIntent> recordedIntents)` Verifies the recorded intents that match the provided `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html`. |

## Public methods

### verify

```
abstract void verify(Matcher<Intent> matcher, List<VerifiableIntent> recordedIntents)
```

Verifies the recorded intents that match the provided `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html`. No intents should be marked as verified unless the verification passes.