@Test
public void testPeerAuthorize_fail() throws Exception {

  when(config.getPeerAuthenticators()).thenReturn(
      ImmutableList.<Class<? extends PeerAuthenticator>>of(FailPeerAuthenticator.class));
  assertFalse(peerAuth.authorizePeer());
}