@Test
void testGetAccessKeyPairFailed() {

    URL url = URL.valueOf("dubbo://10.10.10.10:2181")
            .addParameter(Constants.ACCESS_KEY_ID_KEY, "ak");
    AccessKeyAuthenticator helper = new AccessKeyAuthenticator();
    Invocation invocation = mock(Invocation.class);
    assertThrows(RuntimeException.class, () -> helper.getAccessKeyPair(invocation, url));
}