@Test
public void testGroupsForUserDefaultProperties() {

    UserGroupCallback ldapUserGroupCallback = createLdapUserGroupCallback(Configuration.DEFAULT);
    Assertions.assertThat(ldapUserGroupCallback).isNotNull();
    List<String> userGroups = ldapUserGroupCallback.getGroupsForUser("john");
    Assertions.assertThat(userGroups).hasSize(1);
}