Inheritance: ErrorInfo, IActionableErrorInfo
        public void ActionableErrorInfo_Constructor_WithErrorInfo_InitializesProperties()
        {
            //------------Setup for test--------------------------
            var errorInfo = new ErrorInfo
            {
                ErrorType = ErrorType.Critical,
                FixData = "FixData",
                FixType = FixType.ReloadMapping,
                InstanceID = Guid.NewGuid(),
                Message = "Message",
                StackTrace = "StackTrace"
            };

            var actionInvoked = false;
            var action = new Action(() => { actionInvoked = true; });

            //------------Execute Test---------------------------
            var actionableErrorInfo = new ActionableErrorInfo(errorInfo, action);

            //------------Assert Results-------------------------
            Assert.AreEqual(errorInfo.ErrorType, actionableErrorInfo.ErrorType);
            Assert.AreEqual(errorInfo.FixData, actionableErrorInfo.FixData);
            Assert.AreEqual(errorInfo.FixType, actionableErrorInfo.FixType);
            Assert.AreEqual(errorInfo.InstanceID, actionableErrorInfo.InstanceID);
            Assert.AreEqual(errorInfo.Message, actionableErrorInfo.Message);
            Assert.AreEqual(errorInfo.StackTrace, actionableErrorInfo.StackTrace);

            actionableErrorInfo.Do();
            Assert.IsTrue(actionInvoked);
        }
        public void ActionableErrorInfo_Constructor_NoParameters_DoesNotInitializeProperties()
        {
            //------------Setup for test--------------------------           

            //------------Execute Test---------------------------
            var actionableErrorInfo = new ActionableErrorInfo();

            //------------Assert Results-------------------------
            Assert.AreEqual(ErrorType.None, actionableErrorInfo.ErrorType);
            Assert.IsNull(actionableErrorInfo.FixData);
            Assert.AreEqual(FixType.None, actionableErrorInfo.FixType);
            Assert.AreEqual(Guid.Empty, actionableErrorInfo.InstanceID);
            Assert.IsNull(actionableErrorInfo.Message);
            Assert.IsNull(actionableErrorInfo.StackTrace);
        }