public void BeginTransactionReturnsEmptyTransaction() { var entity = new EmptyUnitOfWork(); var result = entity.BeginTransaction(); result.Should().NotBeNull(); result.Should().BeOfType <EmptyTransaction>(); }
public void ResetDoesNotThrown() { var entity = new EmptyUnitOfWork(); Assert.DoesNotThrow(() => entity.Reset()); }
public void DisposeDoesNotThrown() { var entity = new EmptyUnitOfWork(); Assert.DoesNotThrow(() => entity.Dispose()); }
public void CommitDoesNotThrown() { var entity = new EmptyUnitOfWork(); Assert.DoesNotThrow(() => entity.Commit()); }