public void Abandoning_a_session_should_clear_it() { var session = Utilities.CreateValidSession(); sessionService.Abandon(session); Assert.IsFalse(session.LoggedOn); }
public void LogOff() { var sessionService = new SessionService(clientFactory); sessionService.Abandon(_session); Console.WriteLine("Logged off."); Console.WriteLine(); }