docs: public boolean waitForActivity(Class<? extends Activity> activityClass, int timeout){
  		if(isActivityMatching(activityClass, activityUtils.getCurrentActivity(false, false))){
  			return true;
  		}
  		
  		boolean foundActivity = false;
  		ActivityMonitor activityMonitor = getActivityMonitor();
  		long currentTime = SystemClock.uptimeMillis();
  		final long endTime = currentTime + timeout;
  
  		while(currentTime < endTime){
  			Activity currentActivity = activityMonitor.waitForActivityWithTimeout(endTime - currentTime);
  			
  			if(currentActivity != null && currentActivity.getClass().equals(activityClass)) {
  				foundActivity = true;
  				break;
  			}		
  			currentTime = SystemClock.uptimeMillis();
  		}
  		removeMonitor(activityMonitor);
  		return foundActivity;
  	}