public void TestListRoomsAsNativeObjects() { var client = new HipChat.HipChatClient(defaultClient.Token, HipChat.HipChatClient.ApiResponseFormat.XML); var rooms = client.ListRoomsAsNativeObjects(); Assert.IsInstanceOfType(rooms, typeof(List<HipChat.Entities.Room>)); Assert.IsTrue(rooms.Count > 0); //HACK: the number of rooms is variable, so just check that it's greater than 0 - bit if a hack }
public void TestListRoomsAsNativeObjects() { var client = new HipChat.HipChatClient(defaultClient.Token, HipChat.HipChatClient.ApiResponseFormat.XML); var rooms = client.ListRoomsAsNativeObjects(); Assert.IsInstanceOfType(rooms, typeof(List <HipChat.Entities.Room>)); Assert.IsTrue(rooms.Count > 0); //HACK: the number of rooms is variable, so just check that it's greater than 0 - bit if a hack }