Apache.NMS.ActiveMQ.Test.Transactions.RecoveryFileLoggerTest.TestInitWithLocationSetToBadPath C# (CSharp) 메소드

TestInitWithLocationSetToBadPath() 개인적인 메소드

private TestInitWithLocationSetToBadPath ( ) : void
리턴 void
        public void TestInitWithLocationSetToBadPath()
        {
            RecoveryFileLogger logger = new RecoveryFileLogger();

            logger.Location = this.nonExistantPath;

            try
            {
                logger.Initialize(rmId.ToString());
                Assert.Fail("Should have detected an invalid dir and thrown an exception");
            }
            catch
            {
            }
        }