public ShoppingCart(IItemPage itemPage, ISignInPage signInPage, ICheckoutPage checkoutPage, IShippingAddressPage shippingAddressPage) { _itemPage = itemPage; _signInPage = signInPage; _checkoutPage = checkoutPage; _shippingAddressPage = shippingAddressPage; }
public ShoppingCart(IItemPage itemPage, ISignInPage signInPage, ICheckoutPage checkoutPage, IShippingAddressPage shippingAddressPage) { this.itemPage = itemPage; this.signInPage = signInPage; this.checkoutPage = checkoutPage; this.shippingAddressPage = shippingAddressPage; }
public ShoppingCart(IItemPage itemPage, ISignInPage signInPage, ICheckoutPage checkoutPage, IShippingAddressPage shippingAddressPage) { this.itemPage = itemPage; this.signInPage = signInPage; this.checkoutPage = checkoutPage; this.shippingAddressPage = shippingAddressPage; }
public ItemPageController ( ILrpNavigation navigation, IItemViewModel <TItem> viewModel, IItemPage <TItem> page ) { _navigation = navigation ?? throw new ArgumentNullException(nameof(navigation)); _viewModel = viewModel ?? throw new ArgumentNullException(nameof(viewModel)); _page = page ?? throw new ArgumentNullException(nameof(page)); WirePage(); }
public ItemPageController <TItem> BuildController <TItem>(ItemPageControllerMocks <TItem> Mocks, IItemPage <TItem> page) where TItem : class, IEntity { return(new ItemPageController <TItem> ( Mocks.LrpNavigation.Object, Mocks.ViewModel.Object, page )); }
public static void AssertPrice(this IItemPage itemPage, double expectedPrice) { //AU $168.00 Assert.AreEqual(expectedPrice, itemPage.GetPrice()); }