c# - Testing Event driven behavior -
there seems ton of advice sorta thing in context of gui application. think particular scenario different enough warrent me asking. sum question how test events? now long winded explanation. i've worked point of service hardware little while now. means had write few opos service objects. after few years of doing managed write first com visible c# service object , put production. tried best unit test entire project found rather difficult, able come unit tests of service object's interface implementation. hardest part event's part. granted scenario biggest , common 1 faced, i've come across similar scenarios in other applications of mine testing event seemed awkward. set scene common control object (co) has @ 5 events person can subscribe too. when co calls method open opos finds service object (so) , creates instance of it, calls it's openservice method. third parameter of reference co. don't have define entire co, have define call method 5 events. example o...