AspUnitRunner.Tests.Core.Html.TestHtmlCollection.Count_of_empty_collection_should_be_0 C# (CSharp) Method

Count_of_empty_collection_should_be_0() private method

private Count_of_empty_collection_should_be_0 ( ) : void
return void
        public void Count_of_empty_collection_should_be_0()
        {
            var elements = new IHtmlElement[] { };
            var collection = new HtmlCollection(elements);

            Assert.That(collection.Count, Is.EqualTo(0));
        }