question: public void test_chooseServerAlias ( ) { init ( SERVER ) ; assertNull ( manager . chooseServerAlias ( null , null , new Socket ( ) ) ) ; assertNull ( manager . chooseServerAlias ( "" , null , new Socket ( ) ) ) ; String res = manager . chooseServerAlias ( TYPE_RSA , null , null ) ; assertNotNull ( res ) ; assertEquals ( "serverkey_00" , res . toLowerCase ( ) ) ; res = manager . chooseServerAlias ( TYPE_RSA , null , new Socket ( ) ) ; assertNotNull ( res ) ; assertEquals ( "serverkey_00" , res . toLowerCase ( ) ) ; }
target:  X509KeyManager#chooseServerAlias(String keyType, Principal[] issuers, Socket socket)