### Question:
GSUserDAOLdapImpl extends LDAPBaseDAO<GSUserDAO, GSUser> implements GSUserDAO { @Override public GSUser getFull(String name) { GSUser user = searchByName(name); if (user == null) return null; return fillWithGroups(user); } GSUserDAOLdapImpl(); @Override GSUser getFull(String name); GSUser searchByName(String name); void setUserGroupDAOLdapImpl(UserGroupDAOLdapImpl userGroupDAOLdapImpl); void setMemberFilter(String memberFilter); void setNestedMemberFilter(String nestedMemberFilter); void setEnableHierarchicalGroups(boolean enableHierarchicalGroups);  }### Answer:
@Test public void testGetFullByName() { final String USERNAME = "admin"; GSUser user = userDAO.getFull(USERNAME); assertNotNull(user); LOGGER.info("Searching for '" + USERNAME + "', found " + user); assertEquals(USERNAME, user.getName()); }