@Test
public void testPeerAuthorize_failThenPass() throws Exception {

  when(config.getPeerAuthenticators()).thenReturn(
      ImmutableList.of(FailPeerAuthenticator.class, PassPeerAuthenticator.class));
  assertFalse(peerAuth.authorizePeer());
}