### Question:
ProductServiceImpl implements ProductService { @Override public Result<List<ProductEntity>> findProducts(ProdQueryReq prodQueryReq) { List<ProductEntity> productEntityList= productDAO.findProducts(prodQueryReq); if (CollectionUtils.isEmpty(productEntityList)){ throw new CommonBizException(ExpCodeEnum.PRODUCT_SELECT_FAIL); } return Result.newSuccessResult(productEntityList); }  @Override Result createProduct(ProdInsertReq prodInsertReq); @Override Result updateProduct(ProdUpdateReq prodUpdateReq); @Override Result<List<ProductEntity>> findProducts(ProdQueryReq prodQueryReq); @Override Result createCategoty(CategoryEntity categoryEntity); @Override Result modifyCategory(CategoryEntity categoryEntity); @Override Result deleteCategory(String categoryId); @Override Result createBrand(BrandInsertReq brandInsertReq); @Override Result modifyBrand(BrandInsertReq brandInsertReq); @Override Result<List<CategoryEntity>> findCategorys(CategoryQueryReq categoryQueryReq); @Override Result<List<BrandEntity>> findBrands(BrandQueryReq brandQueryReq); void checkBrandParam(BrandInsertReq brandInsertReq);  }### Answer:
@Test public void testFindProducts(){ ProdQueryReq prodQueryReq = new ProdQueryReq(); prodQueryReq.setOrderBySales(1); Result<List<ProductEntity>> productEntityList = productService.findProducts(prodQueryReq); System.out.println(productEntityList); }