### Question:
UserRepositoryImpl { @SuppressWarnings({ "rawtypes", "unchecked" }) public List<User> getAllBy3(){ Query query = entityManager.createNativeQuery("select u.* from user u", User.class); List rows = query.getResultList(); return rows; }  @SuppressWarnings({ "rawtypes", "unchecked" }) PageImpl<List<Map<String, Object>>> getPageAll(Pageable pageable); @SuppressWarnings({ "rawtypes", "unchecked" }) List<Map<String, Object>> getAll(); @SuppressWarnings({ "rawtypes", "unchecked" }) List<Map<String, Object>> getAllBy1(); @SuppressWarnings({ "rawtypes", "unchecked" }) List<UserEntity> getAllBy2(); @SuppressWarnings({ "rawtypes", "unchecked" }) List<User> getAllBy3();  }### Answer:
@Test public void getAllBy3Test(){ List<User> rows = userRepoImpl.getAllBy3(); log.info("\n-->list={}", JSON.toJSON(rows)); }