GetRoom() public method

Joins a conference room.
public GetRoom ( JID roomAndNick ) : Room
roomAndNick JID room@conference/nick, where "nick" is the desred nickname in the room.
return Room
        public void HasRoomTest()
        {
            cm = new ConferenceManager();
            cm.Stream = stream;

            bool roomExists = cm.HasRoom(jid);
            Assert.IsFalse(roomExists);

            cm.GetRoom(jid);
            roomExists = cm.HasRoom(jid);
            Assert.IsTrue(roomExists);
        }
        private Room CreateRoomPlayback(bool joinRoom, Func<Room, Room> alterRoom)
        {
            cm = new ConferenceManager();
            cm.Stream = stream;

            Room testRoom = cm.GetRoom(jid);
            alterRoom(testRoom);
            if (joinRoom)
            {
                testRoom.Join();
            }

            return testRoom;
        }