KeylessAuthenticationHandler implements AuthenticationHandler { @Override public boolean canHandle(AuthenticationContext authenticationContext) { return true; }  @Override boolean canHandle(AuthenticationContext authenticationContext); @Override String name(); @Override int order(); @Override List<AuthenticationPolicy> handle(ExecutionContext executionContext);  }
@Test public void shouldHandleRequest() { AuthenticationContext context = mock(AuthenticationContext.class); boolean handle = authenticationHandler.canHandle(context); Assert.assertTrue(handle); }