public void ConstCountMismatchTest() { var actual = Roundtrip(new ConstCountClass <string> { Field = new List <string>(TestSequence.Take(2)) }); Assert.Equal(3, actual.Field.Count); }