public void Rollback_WhenInvoked_RollsBackTransaction()
        {
            var transaction = Substitute.For <DbTransaction>();

            systemUnderTest.Rollback(transaction);

            statsDownloadDatabaseServiceMock.Received().Rollback(transaction);
        }
Exemplo n.º 2
0
 public void Rollback(DbTransaction transaction)
 {
     innerService.Rollback(transaction);
 }