@Test
    public void testParsePrivateKey() throws Exception
    {
        // Setup fixture.
        try ( final InputStream stream = getClass().getResourceAsStream( "/privatekey.pem" ) )
        {
            // Execute system under test.
            final PrivateKey result = CertificateManager.parsePrivateKey( stream, "" );

            // Verify result.
            assertNotNull( result );
        }
    }
Asserts that {@link CertificateManager#parsePrivateKey(InputStream, String)} can parse a password-less private
key PEM file.
xmppserver/src/test/java/org/jivesoftware/util/CertificateManagerTest.java