public void verify_commit_will_now_modify_aggregateRoots_after_previous_commit_without_explicit_load()
        {
            TestClassForAggregateRoot entity = new TestClassForAggregateRoot();
            entity.Increment(10);
            sut.Save(entity);
            sut.Commit(Guid.NewGuid());

            //Now increment the entity, but the old unit of work was committed, this entity should not tracked anymore
            entity.Increment(32);
            sut.Commit(Guid.NewGuid());

            var loaded = sut.GetById<TestClassForAggregateRoot>(entity.Id);
            loaded.IntProperty.Should().Be.EqualTo(10);
        }
        public void verify_save_get_modify_save()
        {
            TestClassForAggregateRoot entity = new TestClassForAggregateRoot();
            entity.Increment(10);
            sut.Save(entity);
            sut.Commit(Guid.NewGuid());
            var loaded = sut.GetById<TestClassForAggregateRoot>(entity.Id);
            loaded.Increment(32);
            sut.Commit(Guid.NewGuid());

            var reloaded = sut.GetById<TestClassForAggregateRoot>(entity.Id);
            reloaded.IntProperty.Should().Be.EqualTo(42);
        }