public void GetBytes()
        {
            var type = new HexBinaryValue();

            Assert.False(type.TryGetBytes(out _));

            type.InnerText = "00";
            Assert.True(type.TryGetBytes(out var result1));
            Assert.Collection(result1, b => Assert.Equal(0, b));

            type.InnerText = "01";
            Assert.True(type.TryGetBytes(out var result2));
            Assert.Collection(result2, b => Assert.Equal(1, b));

            type.InnerText = "FF";
            Assert.True(type.TryGetBytes(out var result3));
            Assert.Collection(result3, b => Assert.Equal(0xFF, b));

            type.InnerText = "FFF";
            Assert.False(type.TryGetBytes(out _));

            type.InnerText = "FF01";
            Assert.True(type.TryGetBytes(out var result4));
            Assert.Collection(
                result4,
                b => Assert.Equal(0xFF, b),
                b => Assert.Equal(0x01, b));
        }