@Test
public void shouldAuthenticateUser() throws LDAPException {

    final boolean authenticated = testee.authenticate(someLdapConnectionReturning(SUCCESS), "user", "password");
    assertThat(authenticated).isEqualTo(true);
}