@Test
public void testLoadPemKeyWithWrongLocation() throws Exception {

    expectedEx.expect(UnresolvableKeyException.class);
    KeyLocationResolver keyLocationResolver = new KeyLocationResolver(new JWTAuthContextInfo("wrong_location.pem", null));
    keyLocationResolver.resolveKey(signature, emptyList());
}