public void ReplaceHandlerDataTest()
        {
            string name = "some name";
            string message = "some message";
            Type replaceExceptionType = typeof(ApplicationException);

            ReplaceHandlerData data = new ReplaceHandlerData();
            data.Name = name;
            data.ExceptionMessage = message;
            data.ReplaceExceptionType = replaceExceptionType;

            ReplaceHandlerNode node = new ReplaceHandlerNode(data);
            Assert.AreEqual(name, node.Name);
            Assert.AreEqual(message, node.ExceptionMessage);
            Assert.AreEqual(replaceExceptionType, node.ReplaceExceptionType);
        }
        public void ReplaceHandlerNodeDefaults()
        {
            ReplaceHandlerNode replaceHandler = new ReplaceHandlerNode();

            Assert.AreEqual(string.Empty, replaceHandler.ExceptionMessage);
            Assert.AreEqual(null, replaceHandler.ReplaceExceptionType);
            Assert.AreEqual("Replace Handler", replaceHandler.Name);
        }