@After
  public void intentsTeardown() {
    // release Espresso Intents capturing
    Intents.release();
  }
Use {@link ActivityScenarioRule} to create and launch the activity under test.
ui/espresso/BasicSample/app/src/test/java/com/example/android/testing/espresso/BasicSample/ChangeTextBehaviorLocalTest.java