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

    new Expectations() {{
        mockedKeyManager.getCertificateChain("cert"); times = 1;
    }};
    KeyManagerProxy keyManagerProxy = new KeyManagerProxy(new KeyManager[]{mockedKeyManager});
    keyManagerProxy.getCertificateChain("cert");
}