public void When_parse_csv_invalid_cookie()
        {
            string        invalidCookie = GetCookie().Replace(";", ";,");
            CookiesParser parser        = new CookiesParser(".localhost.fakedomain");

            Assert.Throws <CookieException>(() => { parser.ParseCookies(invalidCookie); });
        }
        public void When_parse_csv_cookie()
        {
            var csvCookie = GetCookie().Replace(";", ",");

            CookiesParser parser     = new CookiesParser(".localhost.fakedomain");
            var           cookieList = parser.ParseCookies(csvCookie);

            Assert.AreEqual(2, cookieList.Count);
        }
        public void When_parse_standard_cookie()
        {
            var cookie = GetCookie();

            CookiesParser parser     = new CookiesParser(".localhost.fakedomain");
            var           cookieList = parser.ParseCookies(cookie);

            Assert.AreEqual(2, cookieList.Count);
        }