### Question:
JwtAuthenticationProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { return JwtAuthentication.class.isAssignableFrom(authentication); } JwtAuthenticationProvider(byte[] secret, String issuer, String audience);  JwtAuthenticationProvider(JwkProvider jwkProvider, String issuer, String audience);  JwtAuthenticationProvider(byte[] secret, String[] issuers, String audience);  JwtAuthenticationProvider(JwkProvider jwkProvider,  String[] issuers, String audience); @Override boolean supports(Class<?> authentication); @Override Authentication authenticate(Authentication authentication); @SuppressWarnings("unused") JwtAuthenticationProvider withJwtVerifierLeeway(long leeway);  }### Answer:
@Test public void shouldSupportJwkAuthentication() throws Exception { JwtAuthenticationProvider provider = new JwtAuthenticationProvider("secret".getBytes(), "test-issuer", "test-audience"); assertThat(provider.supports(AuthenticationJsonWebToken.class), is(true)); }