public void registerForPush(
      Context context, String googleProjectNumber, PushRegistrator.RegisteredHandler callback) {
    lastCallback = callback;

    if (waitTimer > 0) SystemClock.sleep(waitTimer);

    callback.complete(fail ? null : regId);
  }
 public static void manualFireRegisterForPush() {
   lastCallback.complete(regId);
 }