as assertCurrentActivity, now waitForActivity can also take Class<? extends Activity> parameter - type-safer.