@Test public void testDisabled() { ViewUtils.checkViewIsDisplayed(R.id.mapView); MapboxMap mapboxMap = rule.getActivity().getMapboxMap(); onView(withId(R.id.logoView)) .perform(new DisableAction(mapboxMap)) .check(matches(not(isDisplayed()))); }
@Test public void testDefault() { ViewUtils.checkViewIsDisplayed(R.id.mapView); onView(withId(R.id.logoView)).check(matches(isDisplayed())); }