コード例 #1
0
ファイル: BasketLogic.cs プロジェクト: bnathyuw/NancyShop
 public BasketLogic(IBasketStore basketStore, IBasketItemStore basketItemStore)
 {
     _basketStore = basketStore;
     _basketItemStore = basketItemStore;
 }
コード例 #2
0
ファイル: BasketItemLogic.cs プロジェクト: bnathyuw/NancyShop
 public BasketItemLogic(IBasketItemStore basketItemStore)
 {
     _basketItemStore = basketItemStore;
 }
コード例 #3
0
 public void SetUp()
 {
     _basketStore = MockRepository.GenerateStub<IBasketStore>();
     _basketItemStore = MockRepository.GenerateStub<IBasketItemStore>();
     _basketLogic = new BasketLogic(_basketStore, _basketItemStore);
 }