CQRSlite.Tests.Domain.When_getting_an_aggregate.Should_throw_concurrency_exception_if_tracked C# (CSharp) Method

Should_throw_concurrency_exception_if_tracked() private method

private Should_throw_concurrency_exception_if_tracked ( ) : void
return void
        public void Should_throw_concurrency_exception_if_tracked()
        {
            var id = Guid.NewGuid();
            _session.Get<TestAggregate>(id);

            Assert.Throws<ConcurrencyException>(() => _session.Get<TestAggregate>(id, 100));
        }