public void WriteDynamicTravelTest() { var context = new SerializationTestContext(); var bytes = context.Pack(DataBlock.Filled()); Assert.IsNotNull(bytes); Assert.IsTrue(bytes.Length > 0); var hex = "0x" + string.Join("", bytes.Select(b => b.ToString("X"))); Assert.IsNotNull(hex); var expected = SerializationTestContext.GetFilledDataBlockHexString(); Assert.AreEqual(expected, hex); }