Exemple #1
0
        public void KeepaliveMessageClear()
        {
            KeepaliveMessage originalMessage = new KeepaliveMessage();

            originalMessage.Clear();
            KeepaliveMessage emptyMessage = new KeepaliveMessage();

            emptyMessage.MessageId = originalMessage.MessageId;
            Assert.AreEqual(originalMessage.ToString(), emptyMessage.ToString());
        }