コード例 #1
0
 private void makeResponder() {
   Responder responder = authenticator.authenticate(context, request, privilegedResponder);
   responderType = responder.getClass();
 }
コード例 #2
0
 @Test
 public void testAuthenticated() {
   authenticator.authenticated = true;
   makeResponder();
   assertEquals(DummySecureResponder.class, responderType);
 }