public void ValidationEngineTests_HandleNull()
        {
            var eng = new ValidationEngine();

            var results = eng.ValidateSearchText(null);

            Assert.IsTrue(results != null);
            Assert.IsFalse(results.IsValid);
            Assert.AreEqual(ErrorCodes.InvalidSearchParameter, results.Error);
        }
        public void ValidationEngineTests_Success()
        {
            var eng = new ValidationEngine();

            var results = eng.ValidateSearchText("norm");

            Assert.IsTrue(results != null);
            Assert.IsTrue(results.IsValid);
            Assert.IsTrue(string.IsNullOrEmpty(results.Error));
        }