### Question:
UserServiceImpl implements UserService { @Override public Users getByIdUser(String id) { List<Users> users = em.createQuery("SELECT a FROM Users a WHERE a.id = :id", Users.class).setParameter("id",id).getResultList(); if (!(users.isEmpty())) { return users.get(0); }else { return new Users("0000","",0); } }  @Override List<Users> getAll(); @Override String create(Users us); @Override Users getByIdUser(String id); @Override String incrementReport(String id,String idreport); @Override String updateImage(Users us);  }### Answer:
@Test void getByIdUserTest() { initDataStore2(); Users users = Userserviceimpl.getByIdUser("12341"); Users users2 = Userserviceimpl.getByIdUser("12342"); assertEquals("12341",users.getId()); assertEquals("0000",users2.getId()); }