### Question:
AuthorityRepositoryIbatis extends SqlMapClientTemplate implements AuthorityRepository { public Boolean deleteUserGroups(String username) { return delete("deleteUserGroups", username) > 0; }  @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 deleteUserGroups() { assertTrue(repo.deleteUserGroups("max")); }