public void TestYieldRooms() { var client = new HipChat.HipChatClient(defaultClient.Token); var x = 0; foreach (HipChat.Entities.Room room in client.YieldRooms()) { x++; } Assert.IsTrue(x > 0); }