@Test
public void testPeerAuthorize_passThenFail() throws Exception {

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