### Question:
ProductServiceImpl implements ProductService { @Override public List<ProductInfo> findUpAll() { return repository.findByProductStatus(ProductStatusEnum.UP.getCode()); }  @Override Optional<ProductInfo> findById(String productId); @Override List<ProductInfo> findUpAll(); @Override Page<ProductInfo> findAll(Pageable pageable); @Override List<ProductInfo> findByCategoryType(Integer categoryType); @Override ProductInfo save(ProductInfo productInfo); @Override @Transactional void increaseStock(List<CartDTO> cartDTOList); @Override @Transactional void decreaseStock(List<CartDTO> cartDTOList); @Override ProductInfo onSale(String productId); @Override ProductInfo offSale(String productId); @Override void delete(String productId);  }### Answer:
@Test public void findUpAll() { List<ProductInfo> productInfoList = productService.findUpAll(); Assert.assertNotEquals(0 , productInfoList.size()); }