/// <summary>Creates a new instance of <see cref="SupplierController"></summary> /// <param name="supplierGroupBll">Contains business rules related to <see cref="SupplierGroup"/> objects.</param> public GroupController(SupplierGroupBll supplierGroupBll) { if (supplierGroupBll == null) { throw new ArgumentNullException("supplierGroupBll"); } this.supplierGroupBll = supplierGroupBll; }
public void SetUp() { supplierGroupDal = new Mock <ISupplierGroupDal>(); supplierGroupBll = new SupplierGroupBll(supplierGroupDal.Object); }