protected override void OnSetUp() { this.configurationManager = A.Fake<IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve<IFakeConfigurationManager>())); this.StubResolve<IFakeConfigurationManager>(this.configurationManager); }
public ACallToTests() { this.configurationManager = A.Fake <IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve <IFakeConfigurationManager>())); this.StubResolve(this.configurationManager); }
protected override void OnSetUp() { this.configurationManager = A.Fake <IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve <IFakeConfigurationManager>())); this.StubResolve <IFakeConfigurationManager>(this.configurationManager); }
public ACallToTests() { this.configurationManager = A.Fake<IFakeConfigurationManager>(x => x.Wrapping(ServiceLocator.Current.Resolve<IFakeConfigurationManager>())); this.StubResolve(this.configurationManager); }