Пример #1
0
 public void ToStringShouldOutputLinkTag()
 {
     var script = new StyleSheets();
     script.AddStyleSheet("jquery.js");
     Assert.Equal(@"<link href=""jquery.js"" rel=""stylesheet"" type=""text/css"" />", script.Render());
 }
Пример #2
0
 public void ToStringShouldReturnsEmptyIfStyleSheetsIsEmpty()
 {
     var script = new StyleSheets();
     Assert.Empty(script.Render());
 }