### Question:
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { @SuppressWarnings("unchecked") public List<AuthorityDTO> getFreeAuthorities(String username) { return queryForList("getFreeAuthorities", username); }  @Autowired @Override void setSqlMapClient(@Qualifier("sqlMapClient") SqlMapClient sqlMapClient); Boolean removeGroupFromAuthorities(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(); @SuppressWarnings("unchecked") List<AuthorityDTO> getUserAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthorities(String username); @SuppressWarnings("unchecked") List<AuthorityDTO> getFreeAuthoritiesForGroup(); @SuppressWarnings("unchecked") List<Integer> getIdItemsAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getGroupAuthorities(Integer id); Boolean saveAuthorities(final Integer groupId, final List<Integer> authorities); Integer getAuthoritiesNumber(); AuthorityDTO getAuthority(Integer id); @SuppressWarnings("unchecked") List<AuthorityDTO> getAuthorities(Pager pager); Boolean removeAuthority(Integer id); Boolean deleteUserGroups(String username); Boolean save(AuthorityDTO authority);  }### Answer:
@Test public void getFreeAuthorities() { assertTrue(repo.getFreeAuthorities("paperone").size() == 16); assertTrue(repo.getFreeAuthorities("max").size() == 11); }