public void ConstructorWithMessageAndInnerException(string message, Exception innerException)
        {
            LinguisticException e = new LinguisticException(message, innerException);

            Assert.Equal<string>(e.Message, message);
            Assert.Equal<string>(e.ResultState.ErrorMessage, message);
            Assert.Equal<Exception>(e.InnerException, innerException);
        }
        public void DefaultCtorInitializesWithLastError()
        {
            SetLastError(0);
            LinguisticException e = new LinguisticException();

            Assert.True(e.Message == String.Empty,
                "e.Message is supposed to be empty. Instead, it is \"" + e.Message + "\"");
            // BUG: Doesn't initialize with last error, or another value is being set to last error after SetLastError(0) is called.
        }