@Test
 public void shouldReleaseAllStateAfterClassSoWeDontLeakMemory() throws Exception {
   RobolectricTestRunner robolectricTestRunner = new Runner(SimpleTest.class);
   robolectricTestRunner.run(new RunNotifier());
   assertTrue(robolectricTestRunner.allStateIsCleared());
 }
 @Override
 protected void configureShadows(SdkEnvironment sdkEnvironment, Config config) {
   StateHolder.transcript.add("configureShadows");
   super.configureShadows(sdkEnvironment, config);
 }