Exemple #1
0
        public void CountDefault()
        {
            BusinessRules.Interfaces.ITypeFields BusinessRulesTypeFields = new BusinessRules.BusinessRules.TypeFields(adaptadorTypeFields.Object);
            var objReturn = BusinessRulesTypeFields.Count(null);

            Assert.IsTrue(objReturn == 0);
        }
Exemple #2
0
        public void Count()
        {
            BusinessRules.Interfaces.ITypeFields BusinessRulesTypeFields = new BusinessRules.BusinessRules.TypeFields(adaptadorTypeFields.Object);
            var objReturn = BusinessRulesTypeFields.Count(x => x.Id == 1);

            Assert.IsTrue(objReturn > 0);
        }