public async Task CmdStnStatusReqResponseTestMethod()
        {
            byte[] responseMessageBytes = new byte[] { 0x62, 0x22, 0x40, 0x00 };

            var outStream = new MemoryStream();
            var inStream = new MemoryStream(responseMessageBytes);

            
            var testMsg = new CmdStnStatusReqMessage();
            var response = testMsg.WriteAsync(outStream, true);
            await PacketHandler.ReadPacketAsync(inStream);

            Assert.IsInstanceOfType(response.Result, typeof(CmdStnStatusResp));
        }
        public async Task CmdStnStatusReqValidTestMethod()
        {
            var expectedMessageBytes = new byte[] { 0x21, 0x24, 0x05 };

            var testStream = new MemoryStream();
            var msgReq = new CmdStnStatusReqMessage();
            await msgReq.WriteAsync(testStream);
            var actualMessageBytes = ReadStream(testStream);


            CollectionAssert.AreEqual(expectedMessageBytes, actualMessageBytes,
                string.Format("message not valid, expected {0}, received {1}",
                ByteArrayToString(expectedMessageBytes), ByteArrayToString(actualMessageBytes)));

        }