public CommodityService(ICommodityRepo commodityRepo) { _commodityRepo = commodityRepo; }
public void SetUp() { _commodityRepo = Substitute.For <ICommodityRepo>(); _commodityService = new CommodityService(_commodityRepo); }
public CommodityController(ICommodityRepo _commodity) { commodityRepo = _commodity; }