public final void testGetLocalCertificates() {
if (noFreePort || noSocket) {
return;
}
SSLSession ses = new MySSLSession();
HandshakeCompletedEvent event = new HandshakeCompletedEvent(soc, ses);
Certificate[] certs = event.getLocalCertificates();
Certificate[] ses_certs = ses.getLocalCertificates();
if (certs == null && ses_certs == null) {
return;
}
if (certs == null || ses_certs == null) {