ScreenTracker extends DefaultActivityLightCycle<Screen> { @Override public void onResume(Screen screen) { operations.trackScreen(screen); } @Inject  ScreenTracker(TrackingOperations operations); @Override void onResume(Screen screen);  }
@Test public void trackScreenOnResume() { tracker.onResume(activity); verify(operations).trackScreen(activity); }