AccessLogTests.TransactionWatcherTests.SetUp C# (CSharp) Метод

SetUp() приватный Метод

private SetUp ( ) : void
Результат void
        public void SetUp()
        {
            const string dbFile = @"test.mdb";
            var path = Path.GetFullPath(string.Format(@".\{0}", dbFile));
            this.transactionRepositoryMock = new Mock<ITransactionRepository>();
            this.transactionWatcher = new TransactionWatcher(path, this.transactionRepositoryMock.Object);
            this.transactionWatcher.OnNewTransactions += this.OnNewTransactions;
            this.connection = new OleDbConnection(string.Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Jet OLEDB:Database Password=XsControl", dbFile));
        }