@Test
 public void testFindAllUsers() throws Exception {
   List<UserEntity> userEntities = userService.findAllUsers();
   for (int i = 0; i < userEntities.size(); i++) {
     System.out.println(userEntities.get(i));
   }
 }
 @Test
 public void testSaveUser() throws Exception {
   UserEntity userEntity = new UserEntity();
   userEntity.setName("李四2");
   userEntity.setAge(24);
   userEntity.setAddress("上海");
   userService.saveUser(userEntity);
 }
 @Test
 public void testFindAllUserByPage() throws Exception {
   PageRequest page = new PageRequest(0, 2);
   Page<UserEntity> userEntities = userService.findAllUserByPage(page);
   for (UserEntity userEntity : userEntities) {
     System.out.println(userEntity);
   }
   /* for (int i = 0; i < userEntities.getSize(); i++) {
       System.out.println(userEntities.getContent().get(i));
   }*/
 }
 @Test
 public void testFindUserById() throws Exception {
   UserEntity userEntity = userService.findUserById(14);
   System.out.println(userEntity);
 }
 @Test
 public void testDeleteUser() throws Exception {
   userService.deleteUser(14);
 }