### Question:
SpiffeKeyManager extends X509ExtendedKeyManager { @Override public String[] getClientAliases(final String keyType, final Principal[] issuers) { return getAliases(keyType); } SpiffeKeyManager(@NonNull final X509SvidSource x509SvidSource); @Override X509Certificate[] getCertificateChain(final String alias); @Override PrivateKey getPrivateKey(final String alias); @Override String[] getClientAliases(final String keyType, final Principal[] issuers); @Override String chooseClientAlias(final String[] keyTypes, final Principal[] issuers, final Socket socket); @Override String chooseEngineClientAlias(final String[] keyTypes, final Principal[] issuers, final SSLEngine sslEngine); @Override String[] getServerAliases(final String keyType, final Principal[] issuers); @Override String chooseEngineServerAlias(final String keyType, final Principal[] issuers, final SSLEngine sslEngine); @Override String chooseServerAlias(final String keyType, final Principal[] issuers, final Socket socket);  }### Answer:
@Test void getClientAliases() { String[] aliases = spiffeKeyManager.getClientAliases("EC", null); assertEquals(DEFAULT_ALIAS, aliases[0]); }