RemoveRoom() public méthode

Removes the room from the list. Should most often be called by the Room.Leave() method. If the room does not exist, no exception is thrown.
public RemoveRoom ( JID roomAndNick ) : void
roomAndNick JID Room to remove.
Résultat void
        public void RemoveRoomTest()
        {
            cm = new ConferenceManager();
            cm.Stream = stream;

            cm.GetRoom(jid);
            bool roomExists = cm.HasRoom(jid);
            Assert.IsTrue(roomExists);

            cm.RemoveRoom(jid);
            roomExists = cm.HasRoom(jid);
            Assert.IsFalse(roomExists);
        }