public void ToString_ShouldReturnExpectedValue(string templateName, string expected)
        {
            // Arrange
            TemplateInfo templateInfo = new TemplateInfo
            {
                TemplateName = templateName
            };

            // Act
            string actual = templateInfo.ToString();

            // Assert
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
 public SettingNode(TemplateInfo item)
 {
     Text = item.ToString();//item.Type.ToString();
     Tag  = item;
 }