use musicbrainz_rs::entity::recording::*; use musicbrainz_rs::Search; #[tokio::test] async fn should_search_recording() { let query = RecordingSearchQuery::query_builder() .recording("basket case") .and() .artist_name("green day") .and() .comment("leeds festival") .build(); let result = Recording::search(query).execute().await.unwrap(); assert!(result .entities .iter() .any(|recording| recording.length.unwrap() == 182000)); }