Exemple #1
0
        public void SearchInclude()
        {
            BusinessRules.Interfaces.ITypeFields BusinessRulesTypeFields = new BusinessRules.BusinessRules.TypeFields(adaptadorTypeFields.Object);
            var objReturn = BusinessRulesTypeFields.Search(x => x.Id == 1, null);

            Assert.IsTrue(objReturn != null);
        }
Exemple #2
0
        public void SearchNull()
        {
            BusinessRules.Interfaces.ITypeFields BusinessRulesTypeFields = new BusinessRules.BusinessRules.TypeFields(adaptadorTypeFields.Object);
            var objReturn = BusinessRulesTypeFields.Search(null);

            Assert.IsTrue(objReturn == null);
        }