public void Optional(string expected)
        {
            var model = new DocumentOnTypeFormattingOptions {
                FirstTriggerCharacter = "."
            };
            var result = Fixture.SerializeObject(model);

            result.Should().Be(expected);

            var deresult = new Serializer(ClientVersion.Lsp3).DeserializeObject <DocumentOnTypeFormattingOptions>(expected);

            deresult.Should().BeEquivalentTo(model);
        }
        public void SimpleTest(string expected)
        {
            var model = new DocumentOnTypeFormattingOptions {
                FirstTriggerCharacter = ".",
                MoreTriggerCharacter  = ";`".Select(x => x.ToString()).ToArray(),
            };
            var result = Fixture.SerializeObject(model);

            result.Should().Be(expected);

            var deresult = new Serializer(ClientVersion.Lsp3).DeserializeObject <DocumentOnTypeFormattingOptions>(expected);

            deresult.Should().BeEquivalentTo(model);
        }