CQRSlite.Tests.Bus.When_sending_command.Should_throw_if_no_handlers C# (CSharp) Метод

Should_throw_if_no_handlers() приватный Метод

private Should_throw_if_no_handlers ( ) : void
Результат void
        public void Should_throw_if_no_handlers()
        {
            Assert.Throws<InvalidOperationException>(() => _bus.Send(new TestAggregateDoSomething()));
        }