lundi 25 janvier 2016

How to test business logic in a class

So I have a system that has been broken down into interfaces and implementations to allow mocking etc. That is all great and I can test all the functions. Because everything has an input and output.

Now, my business logic is basically a class that ties this entire system together and specifies how things flow. How can I ensure that actions were taken at a specific point etc?

How can I test this business class?

Aucun commentaire:

Enregistrer un commentaire