private UserSession CreateActiveSession(string id = "some") { var session = new UserSession(id); session.Activate(); return(session); }
public void Activate_NewSession_TransmitsToActive() { var session = new UserSession("some"); session.Activate(); Assert.AreEqual(SessionState.Active, session.State); }