@Test
public void testAuthenticate_fail() throws Exception {

  when(config.getAuthenticators()).thenReturn(
      ImmutableList.<Class<? extends Authenticator>>of(FailAuthenticator.class));
  assertNull(auth.authenticate());
}