public void WriteBasicTagToJsonWorks() { // Arrange string expect = @" { ""name"": ""Default Name"" }".Replace(); // Act & Assert Assert.Equal(expect, BasicTag.WriteToJson()); }
public void WriteAdvanceTagToJsonWorks() { // Arrange string expect = @" { ""name"": ""pet"", ""description"": ""Pets operations"", ""externalDocs"": { ""description"": ""Find more info here"", ""url"": ""https://example.com"" } }" .Replace(); // Act & Assert Assert.Equal(expect, AdvanceTag.WriteToJson()); }