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); }
public void SearchNull() { BusinessRules.Interfaces.ITypeFields BusinessRulesTypeFields = new BusinessRules.BusinessRules.TypeFields(adaptadorTypeFields.Object); var objReturn = BusinessRulesTypeFields.Search(null); Assert.IsTrue(objReturn == null); }