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