CiphersuiteDelegate extends Delegate { public void setCipherSuites(List<CipherSuite> cipherSuites) { this.cipherSuites = cipherSuites; } CiphersuiteDelegate(); List<CipherSuite> getCipherSuites(); void setCipherSuites(List<CipherSuite> cipherSuites); void setCipherSuites(CipherSuite... cipherSuites); @Override void applyDelegate(Config config);  }
@Test public void testSetCipherSuites() { LinkedList<CipherSuite> supportedCipherSuites = new LinkedList<>(); supportedCipherSuites.add(CipherSuite.TLS_FALLBACK_SCSV); delegate.setCipherSuites(supportedCipherSuites); assertTrue("CipherSuites setter is not working correctly", delegate.getCipherSuites().equals(supportedCipherSuites)); }