Exemple #1
0
        public void RepeatedEventPublication()
        {
            IPublisher p = new PublisherWithRepeatedEventPublication();

            Assert.Throws <RepeatedPublicationException>(
                () => this.eventbroker.Register(p));
        }
        public void RepeatedEventPublication()
        {
            IPublisher p = new PublisherWithRepeatedEventPublication();

            Assert.Throws<RepeatedPublicationException>(
                () => this.eventbroker.Register(p));
        }