Skip to content

Dependency injection #2

@gavinBurtonStoreFeeder

Description

@gavinBurtonStoreFeeder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions