Apache.NMS.ActiveMQ.Test.Transactions.RecoveryFileLoggerTest.TestInitWithAutoCreateLocation C# (CSharp) Метод

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

private TestInitWithAutoCreateLocation ( ) : void
Результат void
        public void TestInitWithAutoCreateLocation()
        {
            RecoveryFileLogger logger = new RecoveryFileLogger();

            Assert.IsFalse(Directory.Exists(autoCreatePath));

            logger.AutoCreateLocation = true;
            logger.Location = autoCreatePath;
            logger.Initialize(rmId.ToString());

            Assert.IsTrue(Directory.Exists(autoCreatePath));
            Assert.AreEqual(autoCreatePath, logger.Location);
        }