Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now

3.2 Adding Some Business Logic

In this lesson we will do some refactoring by moving the TipCalculator into a new TipService. After that, we will need to use a stub to allow us to easily test the logic within the TipService without having to worry about providing the appropriate inputs for the TipCalculator.