options.addKeyValue(keyValue2); options.addCertPath(certPath2); options.addCertValue(certValue2); options = new PemKeyCertOptions(options); assertEquals(keyPath1, options.getKeyPath());
options.addKeyValue(keyValue2); options.addCertPath(certPath2); options.addCertValue(certValue2); options = new PemKeyCertOptions(options); assertEquals(keyPath1, options.getKeyPath());