public void Delete_ValidGroup_ShouldRemoveGroupViaContext() { supplierGroupDal.Delete(supplierGroupId); groups.Verify(s => s.Remove(It.IsAny <SqlSupplierGroup>()), Times.Once); context.Verify(c => c.SaveChanges(), Times.Once); }
public void DeleteSupplierGroup(int id) { supplierGroupDal.Delete(id); }