private static bool ValidateCondition(string conditionName, bool reverse) { if (string.IsNullOrWhiteSpace(conditionName)) { return(true); } if (_conditionResolver == null) { return(true); } return(_conditionResolver.IsValid(conditionName, reverse)); }
public void IsValid_ReturnsTrue() { var isValid = _conditionResolver.IsValid("SomeCondition"); Assert.IsTrue(isValid); }