@Test
    public void testCreateWithNoInitialText() throws Throwable {
        activityTestRule.launchActivity(new Intent());
        ViewInteraction createMenu = onView(withId(R.id.create_gist));
        ViewInteraction content = onView(withId(R.id.et_gist_content));

        createMenu.check(ViewAssertions.matches(not(isEnabled())));

        content.perform(ViewActions.typeText("gist content"));

        createMenu.check(ViewAssertions.matches(isEnabled()));
    }
Create Gist with no initial text

@throws Throwable
app/src/androidTest/java/com/github/pockethub/android/tests/gist/CreateGistActivityTest.java