JwtAuthenticationProvider extends TimeMeasuringAuthenticationProvider<AuthenticationResult> { @Override public AuthorizationContextType getType(final RequestContext requestContext) { return DittoAuthorizationContextType.JWT; } private  JwtAuthenticationProvider(final JwtAuthenticationResultProvider jwtAuthenticationResultProvider,
            final JwtValidator jwtValidator); static JwtAuthenticationProvider newInstance(
            final JwtAuthenticationResultProvider jwtAuthenticationResultProvider, final JwtValidator jwtValidator); @Override boolean isApplicable(final RequestContext requestContext); @Override AuthorizationContextType getType(final RequestContext requestContext);  }
@Test public void getType() { AssertionsForClassTypes.assertThat(underTest.getType(mockRequestContext(VALID_AUTHORIZATION_HEADER))) .isEqualTo(DittoAuthorizationContextType.JWT); }