@SuppressWarnings("ConstantConditions")
@Test
public void testKeyManagerProxyChooseClientAlias(@Mocked X509ExtendedKeyManager mockedKeyManager) {

    new Expectations() {{
        mockedKeyManager.chooseClientAlias((String[]) any, (Principal[]) any, (Socket) any); times = 1;
    }};
    KeyManagerProxy keyManagerProxy = new KeyManagerProxy(new KeyManager[]{mockedKeyManager});
    keyManagerProxy.chooseClientAlias(null, null, null);
}