Passing dependencies in
A class currently constructs its own EmailSender inside its constructor.
It is changed to accept one as a parameter.
What does this change?
A class currently constructs its own EmailSender inside its constructor.
It is changed to accept one as a parameter.
What does this change?