VCardImpl vcard = (VCardImpl)vCardEngine.parse(sb.toString());
List<KeyType> list = vcard.getKeys();
KeyType f = list.get(0);
assertEquals(KeyTextType.PGP, f.getKeyTextType());
assertArrayEquals("plain text key".getBytes(), f.getKey());
assertEquals(EncodingType.EIGHT_BIT, f.getEncodingType());
f = list.get(1);
assertEquals(KeyTextType.GPG, f.getKeyTextType());
assertArrayEquals("quoted printable\r\nkey".getBytes(), f.getKey());
assertEquals(EncodingType.EIGHT_BIT, f.getEncodingType());
f = list.get(2);
assertEquals(KeyTextType.X509, f.getKeyTextType());
assertArrayEquals(Base64Wrapper.decode("YmluYXJ5IGRhdGE="), f.getKey());
assertEquals(EncodingType.BINARY, f.getEncodingType());
}