function createEnforcerFor(currentVersion) {
    const Util = shaka.test.Util;

    return new Enforcer(
        currentVersion, Util.spyFunc(onPendingSpy), Util.spyFunc(onExpiredSpy));
  }
@param {!shaka.deprecate.Version} currentVersion
@return {!shaka.deprecate.Enforcer}