code: public static void registerIdlingResource(@NonNull String name) {
          throwIfAbsent(name);
  
          CappuccinoIdlingResource idlingResource = new CappuccinoIdlingResource(name);
          mIdlingResourceRegistry.put(name, idlingResource);
          Espresso.registerIdlingResources(idlingResource);
      }
docs: Convenience method for {@link Espresso#registerIdlingResources(android.support.test.espresso.IdlingResource...)
  Espresso#registerIdlingResources(IdlingResource...)}, which first instantiates an {@link CappuccinoIdlingResource},
  then registers it with {@code Espresso}.
  
  @param name The name from which to generate an {@code CappuccinoIdlingResource}.
  @throws CappuccinoException if there is no {@code CappuccinoResourceWatcher} associated
  with the given {@param name}.