UserIbatisDao extends SqlMapClientDaoSupport implements UserDao { @SuppressWarnings("unchecked") @Override public List<User> findAll() { return getSqlMapClientTemplate().queryForList("User.findAll"); }  @SuppressWarnings("unchecked") @Override List<User> findAll(); @Override long getUserCount(UserCriteria userCriteria, Paginater<User> paginater); @SuppressWarnings("unchecked") @Override List<User> getUserList(UserCriteria userCriteria, Paginater<User> paginater); User findById(int id); @SuppressWarnings("unchecked") @Override List<User> findByNameOrLoginNameLike(String name, boolean includeSystem); @Override User findByName(String userName); @Override int insertUser(User user); @Override void updatePassword(User user); @Override int update(User user);  }
@Test public void testGetTeams() { List<User> users = userDao.findAll(); Assert.assertNotNull(users); }