title: How to Access Activity from ActivityScenarioRule
body: <p>I am using <code>ActivityScenarioRule</code> for Espresso UI Testing and I wanted to get access to the method <code>getStringArray()</code>, calling which requires the <code>Activity</code> . So, is there any way to retrieve the <code>Activity</code> by the <code>ActivityScenarioRule</code> , maybe something similar to <code>getActivity</code> in <code>ActivityTestRule</code>.</p>
  
  <pre><code>@Rule
      public ActivityScenarioRule activityScenarioRule = new ActivityScenarioRule&lt;&gt;(MainActivity.class);
  </code></pre>
  
  <p>I am not using <code>ActivityTestRule</code>, because it is deprecated! </p>