상속: IView
        public void EventFiringWithEventsVerifier()
        {
            EventsVerifier verifier = new EventsVerifier();
            SomeView view = new SomeView();
            verifier.Expect(view, "Load",null,EventArgs.Empty);
            view.TriggerLoad(null, EventArgs.Empty);

            verifier.Verify();
        }
        public void EventFiringManual()
        {
            bool loadFired = false;

            SomeView view = new SomeView();
            view.Load+=delegate
                           {
                                loadFired = true;
                           };
            view.TriggerLoad(null,null);
            Assert.IsTrue(loadFired);
        }