code: private Plugin probeNextPlugin() {
          Plugin plugin = null;
          int i = 0;
          while (i < listPending.size()) {
              // ZAP: Removed unnecessary cast.
              plugin = listPending.get(i);
              if (isAllDependencyCompleted(plugin)) {
                  return plugin;
              }
              i++;
          }
          
          return null;
      }
docs: Get next test ready to be run. Null = none. Test dependendent on others
  will not be obtained.
  
  @return