632633634635636637638639640641642
@Test public void shouldFilterBadSSLCiphers() throws Throwable { // pre-conditions // operations SSLCipherConnection connection = (SSLCipherConnection) new SSLCiphersConnectionBuilderFake() .sslCiphersConnection() .disableBadSSLCiphers(ConfigurationOptions.YES) .create(); // verification
645646647648649650651652653654655
@Test public void shouldNotFilterBadSSLCiphers() throws Throwable { // pre-conditions // operations SSLCipherConnection connection = (SSLCipherConnection) new SSLCiphersConnectionBuilderFake() .sslCiphersConnection() .disableBadSSLCiphers(ConfigurationOptions.NO) .create(); // verification