public void ExcludeEmptyPaddingLines_whitespace_list()
 {
     var input= new List<string>
     {"",  "  "
     };
     ObjectApprover.VerifyWithJson(input.ExcludeEmptyPaddingLines());
 }
 public void ExcludeEmptyPaddingLines()
 {
     var input= new List<string>
     {
         "   ",
         "    Line2",
         "   ",
     };
     ObjectApprover.VerifyWithJson(input.ExcludeEmptyPaddingLines());
 }
 public void ExcludeEmptyPaddingLines_empty_list()
 {
     var input= new List<string>();
     ObjectApprover.VerifyWithJson(input.ExcludeEmptyPaddingLines());
 }
 static string ConvertLinesToValue(List<string> snippetLines)
 {
     var snippetValue = snippetLines
         .ExcludeEmptyPaddingLines()
         .TrimIndentation();
     return string.Join(LineEnding, snippetValue);
 }