@Test
public void testKeyManagerProxyGeClientAliases(@Mocked X509ExtendedKeyManager mockedKeyManager) {

    new Expectations() {{
        mockedKeyManager.getClientAliases("cert", (Principal[]) any); times = 1;
    }};
    KeyManagerProxy keyManagerProxy = new KeyManagerProxy(new KeyManager[]{mockedKeyManager});
    keyManagerProxy.getClientAliases("cert", null);
}