public void GetOne_NonExistingGroup_ShouldThrow() { Assert.Throws <ArgumentException>(() => supplierGroupDal.GetOne(19), "Supplier group with id 19 does not exist"); }
public SupplierGroup GetSupplierGroup(int id) { return(supplierGroupDal.GetOne(id)); }