pubsub icon indicating copy to clipboard operation
pubsub copied to clipboard

Consider adding an IHub interface

Open Ninho67 opened this issue 5 years ago • 0 comments

I love the initiative of having a lightweight, simple pubsub library. However, I would only use if it saves me from testing the whole publishing feature in my application.

If I had to wrap your lib in a component of my system, I wouldn't be able to mock your Hub component in my unit tests. In other words, I'd need to test the entire feature once again (and duplicate your unit tests ...).

Could you add an IHub to your project and save me the trouble ? (or make the public methods virtual at least)

Thanks, Cem

Ninho67 avatar Aug 25 '20 15:08 Ninho67