FizzBuzzEnterpriseEdition-CSharp
FizzBuzzEnterpriseEdition-CSharp copied to clipboard
Dependency injection
I really think this should use dependency injection. Right now, class FizzBuzz constructs its own dependencies, you should be passing them into the constructor as interfaces.
This will greatly assist if the implementation detail of classes like IIntegerReturner change in future.
I'm shocked that an enterprise project would not be using dependency injection. Factories are used, but not DI? Embarrassing!