public AnyCallConfigurationTests() { this.fakeObject = A.Fake <FakeManager>(); this.callRule = A.Fake <AnyCallCallRule>(); this.configurationFactory = A.Fake <IConfigurationFactory>(); this.configuration = new AnyCallConfiguration(this.fakeObject, this.callRule, this.configurationFactory); }
public void SetUp() { this.configurationFactory = A.Fake <IConfigurationFactory>(); this.fakeObject = new FakeObject(); this.callRule = new AnyCallCallRule(); this.configuration = this.CreateConfiguration(); }
public IAnyCallConfigurationWithNoReturnTypeSpecified CreateAnyCallConfiguration(FakeManager fakeObject, AnyCallCallRule callRule) { return(new AnyCallConfiguration(fakeObject, callRule, this)); }