expectAtMostOneDelegate() {
    if (ENABLE_ASSERTS) {
      this.expectAtMostOneDelegate_ = true;
    }
    return this;
  }
Configures this registry to accept at most one delegate.
This only affects debug mode.
@return {!DelegateRegistry<T>}