Esempio n. 1
0
 public CoffeeMachineControllerTestFixture()
 {
     serviceProvider = DIConfigurator.ConfigureDI();
 }
Esempio n. 2
0
 public CoffeeCommandsTestFixture()
 {
     serviceProvider = DIConfigurator.ConfigureDI();
 }
 public CoffeeOrderTestFixture()
 {
     serviceProvider = DIConfigurator.ConfigureDI();
 }
 public CoffeeMachineTestFixture()
 {
     serviceProvider = DIConfigurator.ConfigureDI();
     coffeeMachine   = serviceProvider.GetRequiredService <ITestCoffeeMachine>();
 }
Esempio n. 5
0
        public CoffeeTests()
        {
            var serviceProvider = DIConfigurator.ConfigureDI();

            coffee = serviceProvider.GetRequiredService <ICoffee>();
        }