Exemplo n.º 1
0
        public void SomeMatchCondition()
        {
            var rule = new SomeRule(JsonDocument.Parse("[1,2,3]").RootElement,
                                    new StrictEqualsRule(new VariableRule(""), 2));

            JsonAssert.IsTrue(rule.Apply());
        }