public void TestVersionConverter()
    {
        var expected = new SerializeWhenClass
        {
            Version = 33,
            Value   = true
        };

        var actual = Roundtrip(expected);

        Assert.AreEqual(expected.Value, actual.Value);
    }
    public void TestVersionConverterMiss()
    {
        var expected = new SerializeWhenClass
        {
            Version = 25,
            Value   = true
        };

        var actual = Roundtrip(expected);

        Assert.IsFalse(actual.Value);
    }