public void register_handler_ok() { Assert.ThrowsDelegate act = () => { _app.RegisterHandler<MyEvent>(ev => { }); }; Assert.DoesNotThrow(act); }