Created
July 17, 2016 12:03
-
-
Save Egorand/3032fd15214d8500e8b29bfd9fbb2795 to your computer and use it in GitHub Desktop.
android-testing-runtime-permissions-should-load-contacts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void d_shouldLoadContactsIfPermissionWasGranted() throws Exception { | |
for (Contact contact : TEST_CONTACTS) { | |
onView(withText(contact.name)).check(matches(isDisplayed())); | |
onView(withText(contact.phoneNumber)).check(matches(isDisplayed())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment