Ejemplo n.º 1
0
        public void StaticEvent()
        {
            InvalidPublisherStaticEvent p = new InvalidPublisherStaticEvent();

            Assert.Throws <StaticPublisherEventException>(
                () => this.testee.Register(p));
        }
        public void StaticEvent()
        {
            InvalidPublisherStaticEvent p = new InvalidPublisherStaticEvent();

            Assert.Throws<StaticPublisherEventException>(
                () => this.testee.Register(p));
        }