private void scheduleStructureRequest(final Runnable r) {
    if (ApplicationManager.getApplication().isUnitTestMode()) {
      if (null != myStructure) {
        r.run();
      }
    }
    else {
      doScheduleStructureRequest(r);
    }
  }
private void scheduleStructureRequest(final Runnable r)