示例#1
0
        public void IsSessionValidTestTC_Sw_SessionServiceClasses_0001_A4_A()
        {
            UnitTests.SessionService.SessionServiceClient testSession = new UnitTests.SessionService.SessionServiceClient();
            bool res = testSession.IsSessionValid(System.Guid.Empty);

            Assert.AreEqual(false, res);
        }
示例#2
0
        public void IsSessionValidTestTC_Sw_SessionServiceClasses_0001_A4_B()
        {
            UnitTests.SessionService.SessionServiceClient testSession = new UnitTests.SessionService.SessionServiceClient();
            System.Guid testguid = testSession.Login("admin", "admin");
            bool        res      = testSession.IsSessionValid(testguid);

            Assert.AreEqual(true, res);
        }