use of com.github.hakko.musiccabinet.ws.musicbrainz.ReleaseClient in project musiccabinet by hakko.
the class MusicBrainzServiceTest method getReleaseClient.
private ReleaseClient getReleaseClient() throws ApplicationException {
ReleaseClient client = Mockito.mock(ReleaseClient.class);
Mockito.when(client.get(artistName, mbid, 0)).thenReturn(new ResourceUtil("musicbrainz/xml/release-col.xml").getContent());
return client;
}
Aggregations