public Task <ITransaction> StartTransactionAsync() { var log = new MongoActionLog(); Log.Add(new MongoActions.Transaction(log)); ITransaction tx = new TransactionFake(this, log); return(Task.FromResult(tx)); }
public TransactionFake(MongoFake db, MongoActionLog log) => (_db, _log) = (db, log);
public static ActionLogAssertions Should(this MongoActionLog log) { return(new ActionLogAssertions(log)); }