### Question:
SSLParametersConfiguration extends ContextAwareBase { 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()); } }  void configure(SSLConfigurable socket); String getIncludedProtocols(); void setIncludedProtocols(String protocols); String getExcludedProtocols(); void setExcludedProtocols(String protocols); String getIncludedCipherSuites(); void setIncludedCipherSuites(String cipherSuites); String getExcludedCipherSuites(); void setExcludedCipherSuites(String cipherSuites); Boolean isNeedClientAuth(); void setNeedClientAuth(Boolean needClientAuth); Boolean isWantClientAuth(); void setWantClientAuth(Boolean wantClientAuth);  }### Answer:
@Test public void testPassDefaultProtocols() throws Exception { final String[] protocols = new String[] { "A" }; configurable.setDefaultProtocols(protocols); configuration.configure(configurable); assertTrue(Arrays.equals(protocols, configurable.getEnabledProtocols())); }
@Test public void testPassDefaultCipherSuites() throws Exception { final String[] cipherSuites = new String[] { "A" }; configurable.setDefaultCipherSuites(cipherSuites); configuration.configure(configurable); assertTrue(Arrays.equals(cipherSuites, configurable.getEnabledCipherSuites())); }