Exemple #1
0
        public async Task ParseCleanCondition()
        {
            var conditionPath = Path.Combine(MockDataDirectory, "NCondition_Clean.json");
            var conditionRaw  = File.ReadAllText(conditionPath);

            var condition = await NCondition.ParseAsync(conditionRaw);

            Assert.IsNotNull(condition);
            Assert.IsNotNull(condition.Operator);
            Assert.IsNotNull(condition.Reference);
            Assert.IsNotNull(condition.Subject);
        }