@Test
public void testSerializeKeychainToProtobuf() throws UnreadableWalletException
{

    List<Protos.Key> keys = nxtAccount.serializeKeychainToProtobuf();
    NxtFamilyKey newKey = NxtFamilyKey.fromProtobuf(keys);
    NxtFamilyWallet newWallet = new NxtFamilyWallet(newKey, NXT);
    assertEquals(Convert.toHexString(nxtAccount.getPublicKey()), Convert.toHexString(newWallet.getPublicKey()));
    assertEquals(nxtAccount.getPublicKeyMnemonic(), newWallet.getPublicKeyMnemonic());
    assertEquals(nxtAccount.getId(), newWallet.getId());
}