private static bool ValidateCondition(string conditionName, bool reverse)
        {
            if (string.IsNullOrWhiteSpace(conditionName))
            {
                return(true);
            }

            if (_conditionResolver == null)
            {
                return(true);
            }

            return(_conditionResolver.IsValid(conditionName, reverse));
        }
Exemple #2
0
        public void IsValid_ReturnsTrue()
        {
            var isValid = _conditionResolver.IsValid("SomeCondition");

            Assert.IsTrue(isValid);
        }