Пример #1
0
 protected override void EstablishContext()
 {
     containerMock = new WindsorContainer();
     IoC.Initialize(containerMock);
     configStoreMock = mocks.DynamicMock<IConfigurationStore>();
     currentUserClaimInterrogator = mocks.DynamicMock<ICurrentUserClaimInterrogator>();
     dbConnectionStringSelector = mocks.DynamicMock<IDbConnectionStringSelector>();
     subsonicDataProviderProvider = mocks.DynamicMock<ISubsonicDataProviderProvider>();
 }
Пример #2
0
 public SubsonicDataProviderProvider(IDbConnectionStringSelector dbConnectionStringSelector)
 {
     this.dbConnectionStringSelector = dbConnectionStringSelector;
 }