Example #1
0
        public void QueryGetsABasicValue()
        {
            var r = _q.Execute(Query);

            Assert.AreEqual("Moooo!", r);
        }
 public void CommandGetsAConnection() => _q.Execute(Command);
Example #3
0
 public void CommandGetsAConnectionAndATransactionAndCommits()
 {
     _q.Execute(Command);
     _f.MockDbTransaction.Verify(o => o.Commit());
     _f.MockDbTransaction.Verify(o => o.Rollback(), Times.Never);
 }