### Question:
UsersResourceFacadeImp extends CoreDBServiceFacadeImp<Users, Long> implements UsersResourceFacade { @Override public List<UsersDTO> getAllUsers() throws PropertyNotSetException { List<UsersDTO> dtoList = new ArrayList<UsersDTO>(); List<Users> list = this.getAll(); if (list != null && !list.isEmpty()) { for (Users u: list) { dtoList.add(new UsersDTO(u)); } } return dtoList; } protected  UsersResourceFacadeImp(); @Override UsersDTO getUserByName(String name); @Override UsersDTO getUserById(Long id); @Override List<UsersDTO> getAllUsersByName(String name); @Override List<CollectionDTO> findAllCrisisByUserID(Long id); @Override UsersDTO addUser(UsersDTO user); @Override Integer deleteUser(Long id); @Override List<UsersDTO> findByCriteria(String columnName, Object value); @Override List<UsersDTO> getAllUsers();  }### Answer:
@Test public void testGetAllUsers() { try { List<UsersDTO> result = userResourceFacadeImp.getAllUsers(); assertNotNull(result); assertTrue(result.size() >= 1); } catch (PropertyNotSetException ex) { logger.error("PropertyNotSetException while fetching all users "+ex.getMessage()); fail("testGetAllUsers failed"); } }