//Counter fizzCounter, Counter buzzCounter, Counter fizzBuzzCounter, WordPrinter fizzPrinter, WordPrinter buzzPrinter, WordPrinter fizzBuzzPrinter) public FizzBuzzPrinter(FizzPredicate fizzPredicate, BuzzPredicate buzzPredicate, FizzPrinter fizzPrinter, BuzzPrinter buzzPrinter, FizzAndBuzzPrinter fizzAndBuzzPrinter) { _fizzPredicate = fizzPredicate; _buzzPredicate = buzzPredicate; _fizzPrinter = fizzPrinter; _buzzPrinter = buzzPrinter; _fizzAndBuzzPrinter = fizzAndBuzzPrinter; }
protected override void Act() { Sut = new FizzAndBuzzPrinter(WordPrinter); }