Is there an easy way to unit test IPriceCalculator
?
Litium version: 7.1
Is there an easy way to unit test IPriceCalculator
?
Litium version: 7.1
I am afraid there is no ‘easy’ way. You have to mock all dependencies that your price calculator implementation has.