Next privilege 200 Rep.
See reduced ads
Next badge 0/1
~5k people reached
- 0 posts edited
- 0 helpful flags
- 5 votes cast
two ways of doing the same thing, what is preferred?
@johnsmithoptional corrected, thanks !
Using Mock for event listeners in unit-testing
Just to clarify : in my case, it is the dependency that raises the event. The SUT's job is to react to this event in a specific way.