Пример #1
0
 public FileConfigurationControllerTests()
 {
     _provider   = new Mock <IServiceProvider>();
     _repo       = new Mock <IFileConfigurationRepository>();
     _setter     = new Mock <IFileConfigurationSetter>();
     _controller = new FileConfigurationController(_repo.Object, _setter.Object, _provider.Object);
 }
 public FileConfigurationControllerTests()
 {
     _provider     = new Mock <IServiceProvider>();
     _configGetter = new Mock <IFileConfigurationProvider>();
     _configSetter = new Mock <IFileConfigurationSetter>();
     _controller   = new FileConfigurationController(_configGetter.Object, _configSetter.Object, _provider.Object);
 }