public void ServerBinaryAck()
        {
            var msg = new ServerBinaryAckMessage
            {
                Json          = "[1989,\"test\",false]",
                Id            = 185,
                OutgoingBytes = new List <byte[]>
                {
                    Array.Empty <byte>()
                }
            };
            string text = msg.Write();

            Assert.AreEqual("461-185[1989,\"test\",false]", text);
        }
        public void NamespaceServerBinaryAck()
        {
            var msg = new ServerBinaryAckMessage
            {
                Id            = 185,
                Namespace     = "/q",
                OutgoingBytes = new List <byte[]>
                {
                    Array.Empty <byte>(),
                    Array.Empty <byte>()
                }
            };
            string text = msg.Write();

            Assert.AreEqual("462-/q,185[]", text);
        }