title: Android-ProviderTestCase2 with API Level 28 not working
body: <p>Some time ago I created some instrumented tests using ProviderTestCase2. Now I wanted to update my codebase and tried to reactivate my old tests in the current environment.</p>
  
  <p>1) When I update to compileSdkVersion 28 there seems to be no class ProviderTestCase2 any more. Cleaning and building the Project failed.
  If I go back to version 27 I can successfully build the project.</p>
  
  <p>2) I have a special case where I want to test different variants of an object with a set of tests. So I decided to make use of inheritance and placed the tests in the base class, configuring the objects to be tested by the superclass. This had worked in the past. (Yes, I know about opinions that inheritance in tests is bad, but in this case it is OK ;-) )</p>
  
  <p>Now no tests are executed. Android Studio complains that there is an empty test suite.</p>
  
  <p>Also there are warnings that I have tests with JUnit4 Annotations in a class extending JUnit3. I do not remember that I saw these warnings in the past.</p>
  
  <p>Is this a bug in the Android Libraries? Or where can I find some hints how to solve this problem?</p>
  
  <p>(Using Android Studio 3.2 and the currentmost libraries)</p>