@Test
public void shouldNotAuthenticateUser() throws LDAPException {

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