public SutService(IFirstTestDependency firstTestDependency, ISecondTestDependency secondTestDependency) { this.firstTestDependency = firstTestDependency; this.secondTestDependency = secondTestDependency; }
public SutServiceTestBuilder WithFirstDependency(IFirstTestDependency dependency) { this.firstTestDependency = dependency; return(this); }
public SutServiceTestBuilder WithRealDependencies() { this.firstTestDependency = new FirstTestDependency(); this.secondTestDependency = new SecondTestDependency(); return(this); }
public SutServiceTestBuilder() { this.firstTestDependency = new Mock <IFirstTestDependency>().Object; this.secondTestDependency = new Mock <ISecondTestDependency>().Object; }