Apache.NMS.ActiveMQ.Test.Transactions.RecoveryFileLoggerTest.TestInitWithLocationSetToBadPath C# (CSharp) Method

TestInitWithLocationSetToBadPath() private method

private TestInitWithLocationSetToBadPath ( ) : void
return 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
            {
            }
        }