public NetPacket TestDeserializationPacket(byte[] data)
        {
            var packet = NetPacket.Deserialize(data);

            Assert.IsNotNull(packet);
            Assert.IsInstanceOfType(packet, typeof(NetPacket));
            return(packet);
        }