public void ShortIsSentForShortEnum() { ShortMessage msg = new ShortMessage() { shortEnum = MyShortEnum.G }; NetworkWriter writer = new NetworkWriter(); msg.Serialize(writer); // should only be 1 byte Assert.That(writer.Length, Is.EqualTo(2)); }