use musicbrainz_rs::entity::label::*; use musicbrainz_rs::Search; #[test] fn should_search_label() { let query = LabelSearchQuery::query_builder() .label("Abbey Road Studios") .build(); let result = Label::search(query).execute().unwrap(); assert!(result .entities .iter() .any(|label| label.label_type.as_ref().unwrap() == &LabelType::Production)); }