use musicbrainz_rs_nova::entity::instrument::InstrumentType::*; use musicbrainz_rs_nova::entity::instrument::*; use musicbrainz_rs_nova::Search; #[tokio::test] #[serial_test::serial] async fn should_search_instrument() { let query = InstrumentSearchQuery::query_builder() .instrument("octobass") .build(); let result = Instrument::search(query).execute().await.unwrap(); assert!(result .entities .iter() .any(|instrument| instrument.instrument_type == StringInstrument)); }