ApiKeyAuthenticationHandler implements AuthenticationHandler, InitializingBean { @Override public String name() { return "api_key"; }  @Override void afterPropertiesSet(); @Override boolean canHandle(AuthenticationContext context); @Override String name(); @Override int order(); @Override List<AuthenticationPolicy> handle(ExecutionContext executionContext);  }
@Test public void shouldReturnName() { Assert.assertEquals("api_key", authenticationHandler.name()); }