public CategoryController(ICatalogContext catalogContext, CatalogLibraryInternal catalogLibraryInternal, SearchLibraryInternal searchLibraryInternal) { _catalogContext = catalogContext; _catalogLibraryInternal = catalogLibraryInternal; _searchLibraryInternal = searchLibraryInternal; }
public FacetsControllerTests() { _catalogContext = Substitute.For <ICatalogContext>(); _searchLibraryInternal = Substitute.For <SearchLibraryInternal>(_facetedSearch); _controller = new FacetsController(_catalogContext, _searchLibraryInternal); }
public FacetsController(ICatalogContext catalogContext, SearchLibraryInternal searchLibraryInternal) { _catalogContext = catalogContext; _searchLibraryInternal = searchLibraryInternal; }