public void GetSessionTest() { //Arrange User TestUser = new User { Name = "test", PlayerID = "test", Side = "O", Email = "*****@*****.**" }; Lobby.CreateGame(2, TestUser); Lobby.FindGame(TestUser); //Act GameSession gameSession1 = ActiveGame.Game[0]; GameSession gameSession2 = ActiveGame.GetSession("test"); //Assert Assert.AreSame(gameSession1, gameSession2); }