@Test public void findByPage(){ PageRequest pageRequest = new PageRequest(0,2); Page<ProductInfo> result = product.findAll(pageRequest); }