title: androidx.test.InstrumentationRegistry is deprecated
body: <p>Switched to <code>AndroidX</code> and received deprecated: <code>import androidx.test.InstrumentationRegistry</code>.</p>
  
  <p>If I made next import: <code>import androidx.test.platform.app.InstrumentationRegistry
  </code> I can't use <code>getContext()</code>.</p>
  
  <p>Ex:
  <code>val context = InstrumentationRegistry.getContext()</code>.</p>
  
  <p>In <code>build.gradle</code>:</p>
  
  <pre><code>androidTestImplementation 'androidx.test.ext:junit:1.0.0-beta02'
  androidTestImplementation 'androidx.test:runner:1.1.0-beta02'
  </code></pre>