Exemplo n.º 1
0
        public void ParseSSOTokenPage()
        {
            Cookie cookie = SSOHelper.ParseSSOLandingPage(getDataFromFile("SSOTokenPage.html"));

            Assert.IsNotNull(cookie);
            Assert.AreEqual(cookie.Name, "ZSESSIONID");
            Assert.AreEqual(cookie.Value, "khkjhkhkhkhkjhh");
            Assert.AreEqual(cookie.Domain, "us1.rallydev.com");
            Assert.AreEqual(cookie.Path, "/");
        }