コード例 #1
0
        public void MultiplePublication()
        {
            InvalidPublisherRepeatedEventPublication p = new InvalidPublisherRepeatedEventPublication();

            Assert.Throws<RepeatedPublicationException>(
                () => this.testee.Register(p));
        }
コード例 #2
0
        public void MultiplePublication()
        {
            InvalidPublisherRepeatedEventPublication p = new InvalidPublisherRepeatedEventPublication();

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