use of net.rdrei.android.scdl2.api.PendingDownload in project scdl by passy.
the class AbstractMediaStateLoaderTaskTest method testCallForTrack.
@Test
public void testCallForTrack() throws Exception {
final PendingDownload pendingDownload = new PendingDownload("1234", MediaDownloadType.TRACK);
final AbstractMediaStateLoaderTask task = new AbstractMediaStateLoaderTask(mContext, pendingDownload);
task.call();
verify(mTrackService).getTrack("1234");
verifyZeroInteractions(mPlaylistService);
}
Aggregations