@Test
public void testPeerAuthorize_pass() throws Exception {

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