public void SetUp()
        {
            var subject   = new UserSessionService(null, null, null);
            var userToken = subject.NewUser();

            _result = subject.IsLoggedIn(userToken);
        }
예제 #2
0
        public void SetUp()
        {
            var subject = new UserSessionService(null, null, null);

            subject.NewUser();

            _result = subject.IsLoggedIn(Guid.NewGuid().ToString());
        }
예제 #3
0
        public void SetUp()
        {
            var subject   = new UserSessionService(null, null, null);
            var userToken = subject.NewUser();

            subject.LogIn("NOT_A_VALID_GUID", 1);

            _result = subject.IsLoggedIn(userToken);
        }
예제 #4
0
 public void ThenTheUserIsNotLoggedOut()
 {
     Assert.That(_subject.IsLoggedIn(_userToken), Is.True);
 }
예제 #5
0
        public void SetUp()
        {
            var subject = new UserSessionService(null, null, null);

            _result = subject.IsLoggedIn("NOT_A_VALID_GUID");
        }