public GetProductsBundlesQueryTests() { _dapperService = A.Fake <DapperService>(); _getProductBundlesQuery = new GetProductBundlesQuery(A.Fake <IOptions <ApplicationConfiguration> >(), _dapperService); }
public ProductsControllersTests() { _getProductsQuery = A.Fake <GetProductsQuery>(); _searchProductsQuery = A.Fake <SearchProductsQuery>(); _getProductBundles = A.Fake <GetProductBundlesQuery>(); _productController = new ProductsController(_getProductsQuery, _searchProductsQuery, _getProductBundles); }
public ProductsController(GetProductsQuery getProductsQuery, SearchProductsQuery searchProductsQuery, GetProductBundlesQuery getProductBundlesQuery) { _getProductsQuery = getProductsQuery; _searchProductsQuery = searchProductsQuery; _getProductBundlesQuery = getProductBundlesQuery; }