@Test
public void testUserExists() {

    UserGroupCallback ldapUserGroupCallback = createLdapUserGroupCallback(Configuration.CUSTOM);
    Assertions.assertThat(ldapUserGroupCallback).isNotNull();
    boolean userExists = ldapUserGroupCallback.existsUser("john");
    Assertions.assertThat(userExists).isTrue();
}