public void AddItem_Adds1ItemWhen2OnlyDifferByCase_WhenCaseInsensitive()
        {
            var log = new ResourceLog();

            var urlA = new Uri2("http://www.foo.com/page.html");
            var urlB = new Uri2("http://www.foo.com/Page.html");

            log.AddItem(urlA);
            log.AddItem(urlB);

            Assert.AreEqual(1, log.ItemCount);
        }
        public void AddItem_Adds2ItemsThatOnlyDifferByCase_WhenCaseSensitive()
        {
            var log = new ResourceLog();

            log.CaseSensitive = true;

            var urlA = new Uri2("http://www.foo.com/page.html");
            var urlB = new Uri2("http://www.foo.com/Page.html");

            log.AddItem(urlA);
            log.AddItem(urlB);

            Assert.AreEqual(2, log.ItemCount);
        }
        public void AddItem_AddsTheItemToTheLog_WhenCalled()
        {
            var log = new ResourceLog();

            log.CaseSensitive = true;

            var url = new Uri2("http://www.foo.com/Page.html");

            log.AddItem(url);

            Assert.AreEqual(1, log.ItemCount);
        }