public void SetUp() { var subject = new UserSessionService(null, null, null); var userToken = subject.NewUser(); _result = subject.IsLoggedIn(userToken); }
public void SetUp() { var subject = new UserSessionService(null, null, null); subject.NewUser(); _result = subject.IsLoggedIn(Guid.NewGuid().ToString()); }
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); }
public void ThenTheUserIsNotLoggedOut() { Assert.That(_subject.IsLoggedIn(_userToken), Is.True); }
public void SetUp() { var subject = new UserSessionService(null, null, null); _result = subject.IsLoggedIn("NOT_A_VALID_GUID"); }