protected StringValidator(string subject, string expected, string reason, object[] reasonArgs)
        {
            verification = Execute.Verification.BecauseOf(reason, reasonArgs);

            this.subject = subject;
            this.expected = expected;
        }
        public void Validate()
        {
            if ((expected != null) || (subject != null))
            {
                ValidateAgainstNulls();

                if (IsLongOrMultiline(expected) || IsLongOrMultiline(subject))
                {
                    verification = verification.UsingLineBreaks;
                }

                ValidateAgainstSuperfluousWhitespace();
                ValidateAgainstLengthDifferences();
                ValidateAgainstMismatch();
            }
        }