@Test
public void testArmorByteArray() throws Exception
{

    String armored = new String( PGPEncryptionUtil.armorByteArray( "test".getBytes() ) );
    assertThat( armored, startsWith( "-----BEGIN PGP MESSAGE-----" ) );
}