Пример #1
0
        public void GetConditions_Returns_Conditions_From_Conditions_Metadata()
        {
            var conditions = ConditionFactory.GetConditions(ConditionGroupMetadata.Conditions).ToList();

            Assert.True(conditions.Count == 2);
            Assert.True(conditions.All(c => c.GetType() == typeof(XmlFileQueryCondition)));
        }