use of com.google.android.apps.common.testing.ui.espresso.AmbiguousViewMatcherException in project double-espresso by JakeWharton.
the class ViewFinderImplTest method testGetView_multiple.
@UiThreadTest
public void testGetView_multiple() {
ViewFinder finder = new ViewFinderImpl(Matchers.<View>notNullValue(), testViewProvider);
try {
finder.getView();
fail("All nodes hit that matcher!");
} catch (AmbiguousViewMatcherException expected) {
}
}
Aggregations