sample/src/androidTest/java/com/urbanairship/sample/SampleTest.java
private void clickAndVerifyTagAdded(String textString, String tagAdded) {

        onView(withText(containsString(textString))).perform(click());
        assertTrue(UAirship.shared().getPushManager().getTags().contains(tagAdded));
    }
/**
     * Clicks the view with textString and verify tag added.
     *
     * @param textString The text string.
     * @param tagAdded The tag to be added.
     */
Clicks the view with textString and verify tag added.
@param textString The text string.
@param tagAdded The tag to be added.
Clicks the view with textString and verify tag added . @param textString The text string . @param tagAdded The tag to be added .
private void clickAndVerifyTagAdded(String textString, String tagAdded) {
        onView(withText(containsString(textString))).perform(click());
        assertTrue(UAirship.shared().getPushManager().getTags().contains(tagAdded));
    }
private void clickAndVerifyTagAdded ( String textString , String tagAdded ) { onView ( withText ( containsString ( textString ) ) ) . perform ( click ( ) ) ; assertTrue ( UAirship . shared ( ) . getPushManager ( ) . getTags ( ) . contains ( tagAdded ) ) ; }
Clicks the view with textString and verify tag added.
Clicks the view with textString and verify tag added .