// Path: espresso-core-utils/src/main/java/com/vanniktech/espresso/core/utils/AppendTextAction.java
// @CheckResult public static ViewAction appendText(final String text) {
//   return actionWithAssertions(new AppendTextAction(text));
// }
// 
// Path: espresso-core-utils/src/androidTest/java/com/vanniktech/espresso/core/utils/ProgressBarActivity.java
// static final int VIEW_ID = 1234;


import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.rule.ActivityTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.assertion.ViewAssertions.matches;
import static androidx.test.espresso.matcher.ViewMatchers.withId;
import static androidx.test.espresso.matcher.ViewMatchers.withText;
import static com.vanniktech.espresso.core.utils.AppendTextAction.appendText;
import static com.vanniktech.espresso.core.utils.ProgressBarActivity.VIEW_ID;
package com.vanniktech.espresso.core.utils;



@RunWith(AndroidJUnit4.class) public final class AppendTextActionTest {
  @Rule public final ActivityTestRule<AppendTextActionActivity> activityTestRule = new ActivityTestRule<>(AppendTextActionActivity.class);

  @Test public void appendingText() {
    onView(withId(VIEW_ID)).check(matches(withText("Test")));
// Path: espresso-core-utils/src/main/java/com/vanniktech/espresso/core/utils/AppendTextAction.java
// @CheckResult public static ViewAction appendText(final String text) {
//   return actionWithAssertions(new AppendTextAction(text));
// }
// 
// Path: espresso-core-utils/src/androidTest/java/com/vanniktech/espresso/core/utils/ProgressBarActivity.java
// static final int VIEW_ID = 1234;


// Path: espresso-core-utils/src/androidTest/java/com/vanniktech/espresso/core/utils/AppendTextActionTest.java
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.rule.ActivityTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.assertion.ViewAssertions.matches;
import static androidx.test.espresso.matcher.ViewMatchers.withId;
import static androidx.test.espresso.matcher.ViewMatchers.withText;
import static com.vanniktech.espresso.core.utils.AppendTextAction.appendText;
import static com.vanniktech.espresso.core.utils.ProgressBarActivity.VIEW_ID;

package com.vanniktech.espresso.core.utils;



@RunWith(AndroidJUnit4.class) public final class AppendTextActionTest {
  @Rule public final ActivityTestRule<AppendTextActionActivity> activityTestRule = new ActivityTestRule<>(AppendTextActionActivity.class);

  @Test public void appendingText() {
    onView(withId(VIEW_ID)).check(matches(withText("Test")));
    onView(withId(VIEW_ID)).perform(appendText("Something"));