public ProductSearchController(IProductSearchIndexService productSearchIndexService, CartModel cart, IHtmlCacheService htmlCacheService) { _productSearchIndexService = productSearchIndexService; _cart = cart; _htmlCacheService = htmlCacheService; }
public ProductSearchControllerTests() { _productSearchIndexService = A.Fake <IProductSearchIndexService>(); _cartModel = new CartModel(); _htmlCacheService = A.Fake <IHtmlCacheService>(); _controller = new ProductSearchController(_productSearchIndexService, _cartModel, _htmlCacheService) { RequestMock = A.Fake <HttpRequestBase>() }; }
public ProductSearchControllerTests() { _productSearchIndexService = A.Fake<IProductSearchIndexService>(); _cartModel = new CartModel(); _htmlCacheService = A.Fake<IHtmlCacheService>(); _controller = new ProductSearchController(_productSearchIndexService, _cartModel, _htmlCacheService) { RequestMock = A.Fake<HttpRequestBase>() }; }
public ProductSearchControllerTests() { _productSearchIndexService = A.Fake <IProductSearchIndexService>(); _cartModel = new CartModel(); _htmlCacheService = A.Fake <IHtmlCacheService>(); Kernel.Rebind <IGetProductSearchView>().ToConstant(A.Fake <IGetProductSearchView>()); _controller = new ProductSearchController(_productSearchIndexService, _cartModel, _htmlCacheService) { RequestMock = A.Fake <HttpRequestBase>() }; }
public WidgetUIService(IGetWidgetCachingInfo getWidgetCachingInfo,IHtmlCacheService htmlCacheService,IWidgetModelService widgetModelService) { _getWidgetCachingInfo = getWidgetCachingInfo; _htmlCacheService = htmlCacheService; _widgetModelService = widgetModelService; }
public WebpageUIService(IHtmlCacheService htmlCacheService, IGetWebpageCachingInfo getWebpageCachingInfo) { _htmlCacheService = htmlCacheService; _getWebpageCachingInfo = getWebpageCachingInfo; }
public WidgetUIService(IGetWidgetCachingInfo getWidgetCachingInfo, IHtmlCacheService htmlCacheService, IWidgetModelService widgetModelService) { _getWidgetCachingInfo = getWidgetCachingInfo; _htmlCacheService = htmlCacheService; _widgetModelService = widgetModelService; }