public FizzBuzzTests() { Debug.WriteLine("ctor called."); _fizzRules = new FizzRules(); _fizzRulesMock = Substitute.For <IFizzRules>(); _fizzBuzz = new FizzBuzz(_fizzRulesMock); }
public FizzBuzz(IFizzRules fizzRules) { _fizzRules = fizzRules; }