SongItemLoader extends AsyncTaskLoader<HashMap<String, List<Song>>> { @Override protected void onStopLoading() { cancelLoad(); } SongItemLoader(Context context, OnPlaylistLoaded callback); @Override HashMap<String, List<Song>> loadInBackground();  }
@Test public void test_stopLoading() { loader.onStopLoading(); verify(loader).cancelLoad(); }