package org.opendaylight.openflowjava.protocol.impl.core;
import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
import java.io.InputStream;
assertNotNull( inputStream );
inputStream.close();
}
-
- /**
- * Test certificate password retrieval
- */
- @Test
- public void testGetCertificatePassword() {
- char[] password = SslKeyStore.getCertificatePassword();
- assertNotNull(password);
- assertTrue (password.length>0) ;
- }
-
- /**
- * Test keystore password retrieval
- */
- @Test
- public void testGetKeyStorePassword() {
- char[] password = SslKeyStore.getKeyStorePassword() ;
- assertNotNull(password);
- assertTrue (password.length>0) ;
- }
-}
\ No newline at end of file
+}