title: ActivityTestRule - how to call code before Application's onCreate
body: <p>I am using Espresso 2.1 with ActivityTestRule, and I am looking for a way to set some static flags before <code>onCreate()</code> in my application will be called. </p>
  
  <p>I have some init code that I don't want called during instrumentation tests.</p>