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