예제 #1
0
        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);
        }
예제 #2
0
 public List <T_BD_SUPPLIERGROUP> GetAll()
 {
     return(supplierGroupDal.GetAll());
 }
예제 #3
0
 public IList <SupplierGroup> GetAllSupplierGroups()
 {
     return(supplierGroupDal.GetAll());
 }