Ejemplo n.º 1
0
        public void ValidateCleanup()
        {
            CommandApp commandApp = new CommandApp();

            try
            {
                commandApp.Cleanup(10);
                ApplicationLog.WriteLine("CommandApp BVT: CommandApp Cleanup Validated successfully");
            }
            catch (Exception ex)
            {
                ApplicationLog.WriteLine(string.Format((IFormatProvider)null,
                                                       "CommandApp BVT: CommandApp Cleanup Not validated successfully:", ex.Message));
                Assert.Fail("CommandApp BVT: CommandApp Cleanup Not validated successfully");
            }
        }