### Question:
SpiffeSslSocketFactory extends SSLSocketFactory { @Override public String[] getSupportedCipherSuites() { return delegate.getSupportedCipherSuites(); } SpiffeSslSocketFactory(final SslContextOptions contextOptions);   SpiffeSslSocketFactory(final SSLSocketFactory delegate); @Override String[] getDefaultCipherSuites(); @Override String[] getSupportedCipherSuites(); @Override Socket createSocket(Socket socket, String s, int i, boolean b); @Override Socket createSocket(String s, int i); @Override Socket createSocket(String s, int i, InetAddress inetAddress, int i1); @Override Socket createSocket(InetAddress inetAddress, int i); @Override Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1); @Override Socket createSocket();  }### Answer:
@Test void getSupportedCipherSuites() { String[] supportedCipherSuites = spiffeSslSocketFactory.getSupportedCipherSuites(); String[] expected = socketFactory.getSupportedCipherSuites(); assertArrayEquals(expected, supportedCipherSuites); }