Matches a view that is a ComponentHost that matches subMatcher.
Matches a ComponentHost which is displaying text.
Matches a ComponentHost that has mounted a Component with a lifecycle that's matched by the lifecycleMatcher.
Matches a view that is a ComponentHost that matches subMatcher. In Espresso tests, when you need to match a View, we recommend using this matcher and nest any of the other matchers in this class along with it. For example componentHost(withText("foobar")) or componentHost(withContentDescription("foobar")). While it's definitely possible to use Espresso's ViewMatchers directly to match ComponentHosts, using these methods ensure that we can handle weirdness in the view hierarchy that comes from the component stack.
Matches a ComponentHost which is displaying text. This is equivalent to componentHostWithText(is(text)).