Posts Tagged ‘testing’
Like many components of the framework, Events are highly testable.
A real world example : an email logger, which I already covered here. We want to test the integration of this functionality throughout the application.
A good practice in OOP is to decouple the logic from the implementation. Both must be isolated : Unit testing (white box) [...]