The product testing driver to mock the backend product service.
@inheritdoc @param productFactory - A DaffProductFactory instance @param productImageFactory - A DaffProductImageFactory instance
Name | Type | Description |
---|---|---|
getAll | Observable<DaffProduct []> |
Get all products. |
getBestSellers | Observable<DaffProduct []> |
Get best selling products. |
get | Observable<DaffProductDriverResponse > |
Get a product by Id. |
getByUrl | Observable<DaffProductDriverResponse > |
Get a product by URL. |