CQRSlite.Tests.Domain.When_saving_events_without_id.Should_throw_aggregate_or_event_missing_id_exception_from_repository C# (CSharp) Метод

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

        public void Should_throw_aggregate_or_event_missing_id_exception_from_repository()
        {
            Assert.Throws<AggregateOrEventMissingIdException>(() => _rep.Save(_aggregate, 0));
        }