@Ignore
@Test
public void ldapAuthenticatorCreatesUserOnSuccess() throws Exception {

  when(ldapConnectionFactory.getLDAPConnection(PEOPLE_DN, "validpass"))
      .thenReturn(ldapUserAuthConnection);
  User user = ldapAuthenticator.authenticate(new BasicCredentials("sysadmin", "validpass"))
      .orElseThrow(RuntimeException::new);
  assertThat(user).isEqualTo(User.named("sysadmin"));
}