@Test
public void testGetPrivateKey() throws Exception
{

    PGPSecretKey secretKey =
            PGPEncryptionUtil.findSecretKeyByFingerprint( findFile( SECRET_KEYRING ), SECRET_KEY_FINGERPRINT );
    assertNotNull( PGPEncryptionUtil.getPrivateKey( secretKey, SECRET_PWD ) );
    assertNull( PGPEncryptionUtil.getPrivateKey( secretKey, "" ) );
}