@Test
public void testGetPrivateKeyFromStream() throws IOException, PGPException
{

    try ( InputStream is = new FileInputStream( PGPTestDataFactory.PRIVATE_KEY_PATH ) )
    {
        PGPPrivateKey privateKey = PGPKeyHelper.readPrivateKey( is, PGPTestDataFactory.DEFAULT_PASSWORD );
        assertNotNull( privateKey );
    }
}