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

    try ( InputStream is = new FileInputStream( PGPTestDataFactory.PUBLIC_KEY_PATH ) )
    {
        PGPPublicKey publicKey = PGPKeyHelper.readPublicKey( is );
        checkPublicKey( publicKey );
    }
}