Exemplo n.º 1
0
        public void SearchNull()
        {
            BusinessRules.Interfaces.IStepsInFields BusinessRulesStepsInFields = new BusinessRules.BusinessRules.StepsInFields(adaptadorStepsInFields.Object);
            var objReturn = BusinessRulesStepsInFields.Search(null);

            Assert.IsTrue(objReturn == null);
        }
Exemplo n.º 2
0
        public void SearchIncludeNotFind()
        {
            BusinessRules.Interfaces.IStepsInFields BusinessRulesStepsInFields = new BusinessRules.BusinessRules.StepsInFields(adaptadorStepsInFields.Object);
            var objReturn = BusinessRulesStepsInFields.Search(x => x.IdStep == 100, null);

            Assert.IsTrue(objReturn == null);
        }