ToString() public method

public ToString ( ) : string
return string
        public void ToStringReturnsTagRepresentationWithAttributeTest()
        {
            var target = new SupportedTagAttribute("test", "name", "Value");

            var actual = target.ToString();

            actual.Should().Be("<test name=\"Value\" />");
        }
        public void ToStringReturnsTagRepresentationTest()
        {
            var target = new SupportedTagAttribute("test");

            var actual = target.ToString();

            actual.Should().Be("<test />");
        }