public static void namedActivityPushed(
     final Activity fromActivity, final String nameOfPushedActivity) {
   final ShadowActivity slimtimerShadow = shadowOf(fromActivity);
   final Intent startedIntent = slimtimerShadow.getNextStartedActivity();
   assertNotNull("Intent not started for activity creation?", startedIntent);
   final ShadowIntent shadowIntent = shadowOf(startedIntent);
   assertThat(shadowIntent.getComponent().getClassName(), equalTo(nameOfPushedActivity));
 }