public void GetAll_NoGroups_ShouldReturnEmptyList() { context.Setup(m => m.Groups).Returns(new FakeDbSet <SqlSupplierGroup>(new List <SqlSupplierGroup>()).Object); var result = supplierGroupDal.GetAll(); Assert.IsEmpty(result); }
public List <T_BD_SUPPLIERGROUP> GetAll() { return(supplierGroupDal.GetAll()); }
public IList <SupplierGroup> GetAllSupplierGroups() { return(supplierGroupDal.GetAll()); }