In trying to unit test EventMgr I ran into the fact that there was so much infrastructure required, it just didn't make sense. Alternatives are:1) to build shim of EBBMgr, MMgr to test, 2) to build simple bring up, e.g., UP, that gets real ones working, 3) to modify EventMgr so that it calls a very surcomscribed set of interfaces, overridden in test.
I am leaning towards option 2, but want to discuss before proceed. I think, while this is doing somewhat of a integration test, given that we rely on some core objects, this is the most natural.
In trying to unit test EventMgr I ran into the fact that there was so much infrastructure required, it just didn't make sense. Alternatives are:1) to build shim of EBBMgr, MMgr to test, 2) to build simple bring up, e.g., UP, that gets real ones working, 3) to modify EventMgr so that it calls a very surcomscribed set of interfaces, overridden in test.
I am leaning towards option 2, but want to discuss before proceed. I think, while this is doing somewhat of a integration test, given that we rely on some core objects, this is the most natural.