public void configure(SSLConfigurable socket) {
        socket.setEnabledProtocols(enabledProtocols(socket.getSupportedProtocols(), socket.getDefaultProtocols()));
        socket.setEnabledCipherSuites(
                enabledCipherSuites(socket.getSupportedCipherSuites(), socket.getDefaultCipherSuites()));
        if (isNeedClientAuth() != null) {
            socket.setNeedClientAuth(isNeedClientAuth());
        }
        if (isWantClientAuth() != null) {
            socket.setWantClientAuth(isWantClientAuth());
        }
        if (hostnameVerification != null) {
            addInfo("hostnameVerification=" + hostnameVerification);
            socket.setHostnameVerification(hostnameVerification);
        }
    }
@Test
    public void testPassDefaultCipherSuites() throws Exception {
        final String[] cipherSuites = new String[] { "A" };
        configurable.setDefaultCipherSuites(cipherSuites);
        configuration.configure(configurable);
        assertTrue(Arrays.equals(cipherSuites, configurable.getEnabledCipherSuites()));
    }