public void TryCreate_Method_Fail(string source) { var provider = new ExpressionPolicyKeyEvaluatorProvider(); var evaluator = provider.TryCreate(source); Assert.Null(evaluator); }
public void TryCreate_Expression_Success(string source) { var provider = new ExpressionPolicyKeyEvaluatorProvider(); var evaluator = provider.TryCreate(source); Assert.NotNull(evaluator); }