# IntentMatchers

Summary:[Methods](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#)  

# IntentMatchers

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public

final

class
IntentMatchers
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object.html)`


``


`

|---|-------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | android.support.test.espresso.intent.matcher.IntentMatchers |

<br />

*** ** * ** ***

A collection of hamcrest matchers for matching[Intent](https://developer.android.com/reference/android/content/Intent.html)objects.

## Summary

|                                                                                                                                                                                                                                                                                             ### Public methods                                                                                                                                                                                                                                                                                             ||
|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[anyIntent](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#anyIntent())`() `                                                                                                                                                                                                                                                                                                                                                               |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasAction](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasAction(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` action) `                                                                                                                                                                                                                                                               |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasAction](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasAction(org.hamcrest.Matcher<java.lang.String>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> actionMatcher) `                                                                                                                                                                                                                         |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasCategories](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasCategories(java.util.Set<java.lang.String>))`(`[Set](https://developer.android.com/reference/java/util/Set.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`> categories) `                                                                                                                                                               |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasCategories](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasCategories(org.hamcrest.Matcher<? extends java.lang.Iterable<? super java.lang.String>>))`(Matcher<? extends `[Iterable](https://developer.android.com/reference/java/lang/Iterable.html)`<? super `[String](https://developer.android.com/reference/java/lang/String.html)`>> categoriesMatcher) `                                                                      |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasComponent](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasComponent(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` className) ` Returns a matcher that will only match intents targeted to a single class by using[hasClassName(String)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers#hasClassName(java.lang.String)). |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasComponent](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasComponent(org.hamcrest.Matcher<android.content.ComponentName>))`(Matcher<`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)`> componentMatcher) ` Can match an intent by class name, package name or short class name.                                                                                                          |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasComponent](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasComponent(android.content.ComponentName))`(`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` componentName) ` Returns a matcher that will only match intents targeted to the componentName's class, .                                                                                                                         |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasData](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasData(org.hamcrest.Matcher<android.net.Uri>))`(Matcher<`[Uri](https://developer.android.com/reference/android/net/Uri.html)`> uriMatcher) `                                                                                                                                                                                                                                     |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasData](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasData(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` uri) `                                                                                                                                                                                                                                                                      |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasData](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasData(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` uri) `                                                                                                                                                                                                                                                                           |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasExtra](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasExtra(org.hamcrest.Matcher<java.lang.String>, org.hamcrest.Matcher<?>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> keyMatcher, Matcher<?> valueMatcher) `                                                                                                                                                                            |
| ` static <T> Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | ` `[hasExtra](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasExtra(java.lang.String, T))`(`[String](https://developer.android.com/reference/java/lang/String.html)` key, T value) `                                                                                                                                                                                                                                                        |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasExtraWithKey](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasExtraWithKey(org.hamcrest.Matcher<java.lang.String>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> keyMatcher) `                                                                                                                                                                                                                |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasExtraWithKey](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasExtraWithKey(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` key) `                                                                                                                                                                                                                                                      |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasExtras](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasExtras(org.hamcrest.Matcher<android.os.Bundle>))`(Matcher<`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)`> bundleMatcher) `                                                                                                                                                                                                                       |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasFlag](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasFlag(int))`(int flag) `                                                                                                                                                                                                                                                                                                                                                        |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasFlags](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasFlags(int))`(int flags) `                                                                                                                                                                                                                                                                                                                                                     |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasFlags](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasFlags(int...))`(int... flags) `                                                                                                                                                                                                                                                                                                                                               |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasPackage](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasPackage(org.hamcrest.Matcher<java.lang.String>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> packageMatcher) `                                                                                                                                                                                                                      |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasPackage](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasPackage(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` packageName) `                                                                                                                                                                                                                                                        |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasType](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasType(org.hamcrest.Matcher<java.lang.String>))`(Matcher<`[String](https://developer.android.com/reference/java/lang/String.html)`> typeMatcher) `                                                                                                                                                                                                                               |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[hasType](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#hasType(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` type) `                                                                                                                                                                                                                                                                     |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[isInternal](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#isInternal())`() ` Matches an intent if its package is the same as the target package for the instrumentation test.                                                                                                                                                                                                                                                            |
| ` static Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>`     | ` `[toPackage](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#toPackage(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` packageName) ` Matches an intent based on the package of activity which can handle the intent.                                                                                                                                                                          |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers#)From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                                | | ` boolean`                                                                          | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                             | ` finalize() `                                                                             | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                             | | ` int`                                                                              | ` hashCode() `                                                                             | | ` final void`                                                                       | ` notify() `                                                                               | | ` final void`                                                                       | ` notifyAll() `                                                                            | | ` `[String](https://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                             | | ` final void`                                                                       | ` wait(long arg0, int arg1) `                                                              | | ` final void`                                                                       | ` wait(long arg0) `                                                                        | | ` final void`                                                                       | ` wait() `                                                                                 | ||

## Public methods

### anyIntent

```
Matcher<Intent> anyIntent ()
```

<br />

<br />

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasAction

```
Matcher<Intent> hasAction (String action)
```

<br />

<br />

|        Parameters         ||
|----------|-----------------|
| `action` | `String` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasAction

```
Matcher<Intent> hasAction (Matcher<String> actionMatcher)
```

<br />

<br />

|            Parameters             ||
|-----------------|------------------|
| `actionMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasCategories

```
Matcher<Intent> hasCategories (Set<String> categories)
```

<br />

<br />

|         Parameters         ||
|--------------|--------------|
| `categories` | `Set` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasCategories

```
Matcher<Intent> hasCategories (Matcher<? extends Iterable<? super String>> categoriesMatcher)
```

<br />

<br />

|              Parameters               ||
|---------------------|------------------|
| `categoriesMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasComponent

```
Matcher<Intent> hasComponent (String className)
```

Returns a matcher that will only match intents targeted to a single class by using[hasClassName(String)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers#hasClassName(java.lang.String)). The input string must contain the package name + short class name. For example hasComponent("com.google.provider.NotePad").

<br />

|                    Parameters                     ||
|-------------|--------------------------------------|
| `className` | `String`: complete class path <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasComponent

```
Matcher<Intent> hasComponent (Matcher<ComponentName> componentMatcher)
```

Can match an intent by class name, package name or short class name.

<br />

|                                                                                                                                                                                                                                                                                  Parameters                                                                                                                                                                                                                                                                                   ||
|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `componentMatcher` | `Matcher`: can be the value of[hasClassName(String)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers#hasClassName(java.lang.String)),[hasPackageName(String)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers#hasPackageName(java.lang.String))or[hasShortClassName(String)](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers#hasShortClassName(java.lang.String)) <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasComponent

```
Matcher<Intent> hasComponent (ComponentName componentName)
```

Returns a matcher that will only match intents targeted to the componentName's class, . For example: Intent intent = new Intent() .setComponentName(new ComponentName("com.google.provider", "com.google.provider.Notepad")); will match all intents targeted to Notepad.java.

<br />

|                                          Parameters                                          ||
|-----------------|-----------------------------------------------------------------------------|
| `componentName` | `ComponentName`: a componentName that has the target class specified <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

**See also:**

- [getClassName()](https://developer.android.com/https://developer.android.com/reference/android/content/ComponentName#getClassName())  

### hasData

```
Matcher<Intent> hasData (Matcher<Uri> uriMatcher)
```

<br />

<br />

|           Parameters           ||
|--------------|------------------|
| `uriMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasData

```
Matcher<Intent> hasData (String uri)
```

<br />

<br />

|       Parameters       ||
|-------|-----------------|
| `uri` | `String` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasData

```
Matcher<Intent> hasData (Uri uri)
```

<br />

<br />

|     Parameters      ||
|-------|--------------|
| `uri` | `Uri` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasExtra

```
Matcher<Intent> hasExtra (Matcher<String> keyMatcher, 
                Matcher<?> valueMatcher)
```

<br />

<br />

|            Parameters            ||
|----------------|------------------|
| `keyMatcher`   | `Matcher` <br /> |
| `valueMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasExtra

```
Matcher<Intent> hasExtra (String key, 
                T value)
```

<br />

<br />

|        Parameters        ||
|---------|-----------------|
| `key`   | `String` <br /> |
| `value` | `T` <br />      |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasExtraWithKey

```
Matcher<Intent> hasExtraWithKey (Matcher<String> keyMatcher)
```

<br />

<br />

|           Parameters           ||
|--------------|------------------|
| `keyMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasExtraWithKey

```
Matcher<Intent> hasExtraWithKey (String key)
```

<br />

<br />

|       Parameters       ||
|-------|-----------------|
| `key` | `String` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasExtras

```
Matcher<Intent> hasExtras (Matcher<Bundle> bundleMatcher)
```

<br />

<br />

|            Parameters             ||
|-----------------|------------------|
| `bundleMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasFlag

```
Matcher<Intent> hasFlag (int flag)
```

<br />

<br />

|      Parameters      ||
|--------|--------------|
| `flag` | `int` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasFlags

```
Matcher<Intent> hasFlags (int flags)
```

<br />

<br />

|      Parameters       ||
|---------|--------------|
| `flags` | `int` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasFlags

```
Matcher<Intent> hasFlags (int... flags)
```

<br />

<br />

|      Parameters       ||
|---------|--------------|
| `flags` | `int` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasPackage

```
Matcher<Intent> hasPackage (Matcher<String> packageMatcher)
```

<br />

<br />

|             Parameters             ||
|------------------|------------------|
| `packageMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasPackage

```
Matcher<Intent> hasPackage (String packageName)
```

<br />

<br />

|           Parameters           ||
|---------------|-----------------|
| `packageName` | `String` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasType

```
Matcher<Intent> hasType (Matcher<String> typeMatcher)
```

<br />

<br />

|           Parameters            ||
|---------------|------------------|
| `typeMatcher` | `Matcher` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### hasType

```
Matcher<Intent> hasType (String type)
```

<br />

<br />

|       Parameters        ||
|--------|-----------------|
| `type` | `String` <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### isInternal

```
Matcher<Intent> isInternal ()
```

Matches an intent if its package is the same as the target package for the instrumentation test.

<br />

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

### toPackage

```
Matcher<Intent> toPackage (String packageName)
```

Matches an intent based on the package of activity which can handle the intent.

<br />

|                                   Parameters                                    ||
|---------------|------------------------------------------------------------------|
| `packageName` | `String`: packages of activity that can handle the intent <br /> |

|                                              Returns                                               ||
|--------------------------------------------------------------------------------------------|--------|
| `Matcher<`[Intent](https://developer.android.com/reference/android/content/Intent.html)`>` | <br /> |

-

  ## Classes

  - [BundleMatchers](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/BundleMatchers)
  - [ComponentNameMatchers](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/ComponentNameMatchers)
  - [IntentMatchers](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/IntentMatchers)
  - [UriMatchers](https://developer.android.com/reference/android/support/test/espresso/intent/matcher/UriMatchers)