public void Should_throw_concurrency_exception_from_session() { _session.Add(_aggregate); _aggregate.DoSomething(); _rep.Save(_aggregate); Assert.Throws<ConcurrencyException>(() => _session.Commit()); }