示例#1
0
 protected override void OnSetUp()
 {
     this.configurationManager = A.Fake<IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve<IFakeConfigurationManager>()));
     this.StubResolve<IFakeConfigurationManager>(this.configurationManager);
 }
示例#2
0
 public ACallToTests()
 {
     this.configurationManager = A.Fake <IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve <IFakeConfigurationManager>()));
     this.StubResolve(this.configurationManager);
 }
示例#3
0
 protected override void OnSetUp()
 {
     this.configurationManager = A.Fake <IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve <IFakeConfigurationManager>()));
     this.StubResolve <IFakeConfigurationManager>(this.configurationManager);
 }
示例#4
0
 public ACallToTests()
 {
     this.configurationManager = A.Fake<IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve<IFakeConfigurationManager>()));
     this.StubResolve(this.configurationManager);
 }