/// <summary> /// Registers service fake into the scenario context. /// </summary> /// <typeparam name="TService">The type of service.</typeparam> /// <param name="fake">The fake to be registered.</param> protected void RegisterFake <TService>(IFake <TService> fake) where TService : class { RegistrationHelper.RegisterFake(GetRegistrator(), fake); }