Exemple #1
0
        public void WriteAdvanceTagToYamlWorks()
        {
            // 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.WriteToYaml());
        }
Exemple #2
0
 public void WriteBasicTagToYamlWorks()
 {
     // Arrange & Act & Assert
     Assert.Equal("name: Default Name", BasicTag.WriteToYaml());
 }