public void ShouldCallUnitOfWorkManagerCurrentOnGet() { using (mocks.Record()) { unitOfWorkManager.Expect(uow => uow.For <NullDatabase>()).Repeat.Any(); } using (mocks.Playback()) { repository.Get <object>(1); } }
public void ShouldCallUnitOfWorkManagerCurrentOnGet() { using (mocks.Record()) { unitOfWorkManager.Expect(uow => uow.For <NullDatabase>()).Repeat.Any(); } using (mocks.Playback()) { repository.Get <object>(1); } }