public void TestMemoNone() { Memo memo = Memo.MemoNone(); Assert.AreEqual(Memo.MemoTypeEnum.MEMO_NONE, memo.Type); Stellar.Generated.Memo genMemo = memo.ToXDR(); Assert.AreEqual(Stellar.Generated.MemoType.MemoTypeEnum.MEMO_NONE, genMemo.Discriminant.InnerValue); Memo resMemo = Memo.FromXDR(genMemo); Assert.AreEqual(Memo.MemoTypeEnum.MEMO_NONE, resMemo.Type); }