### Question:
EmployeeServiceImpl implements EmployeeService { @Override public List<EmployeeResult> findEmployee() { CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery<Employee> query = cb.createQuery(Employee.class); Root<Employee> root = query.from(Employee.class); Join<Employee, EmployeeDetail> join = root.join(Employee_.detail, JoinType.LEFT); query.select(cb.construct(EmployeeResult.class, join.get(EmployeeDetail_.name), join.get(EmployeeDetail_.age))); Order order = cb.asc(root.get(Employee_.id)); query.orderBy(order); TypedQuery typedQuery = em.createQuery(query); return typedQuery.getResultList(); }  @Override Page<Employee> pageBySearch(EmployeeSearch search, Pageable pageable); @Override void save(Employee employee); @Override List<Employee> listByAge(Integer age); @Override List<Employee> listByAge1(Integer age); @Override List<Tuple> groupByName(String name); @Override List<EmployeeResult> findEmployee();  }### Answer:
@Test public void testFindEmployee() { List list = employeeService.findEmployee(); System.out.println(list); }