@Test
public void testLoadPemCertOnClassPath() throws Exception {

    JWTAuthContextInfo contextInfo = new JWTAuthContextInfo("publicCrt.pem", "issuer");
    X509KeyLocationResolver keyLocationResolver = new X509KeyLocationResolver(contextInfo);
    when(signature.getX509CertSha1ThumbprintHeaderValue()).thenReturn(x5t);
    assertEquals(key, keyLocationResolver.resolveKey(signature, emptyList()));
}