public UpdateInventoryTests() { _updateAgedBrie = Substitute.For <IUpdateAgedBrie>(); _updateBackStage = Substitute.For <IUpdateBackStageItems>(); _updateConjuredItems = Substitute.For <IUpdateConjuredItems>(); _updateOrdinaryItems = Substitute.For <IUpdateOrdinaryItems>(); _sut = new UpdateInventory(_updateBackStage, _updateAgedBrie, _updateConjuredItems, _updateOrdinaryItems); }
public UpdateInventory(IUpdateBackStageItems updateBackStageItems, IUpdateAgedBrie updateAgedBrie, IUpdateConjuredItems updateConjuredItems, IUpdateOrdinaryItems updateOrdinaryItems) { _updateBackStageItems = updateBackStageItems; _updateAgedBrie = updateAgedBrie; _updateConjuredItems = updateConjuredItems; _updateOrdinaryItems = updateOrdinaryItems; }