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)
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