AfmPlayerView extends LinearLayout implements
        View.OnClickListener, SeekBar.OnSeekBarChangeListener { public List<AfmAudio> getMyPlaylist() { return afmAudioPlayer.getPlaylist(); } AfmPlayerView(Context context);  AfmPlayerView(Context context, AttributeSet attrs); @TargetApi(Build.VERSION_CODES.HONEYCOMB)  AfmPlayerView(Context context, AttributeSet attrs, int defStyle); void initPlaylist(List<AfmAudio> playlist); void initAnonPlaylist(List<AfmAudio> playlist); void initWithTitlePlaylist(List<AfmAudio> playlist, String title); long addAudio(AfmAudio afmAudio); void removeAudio(AfmAudio afmAudio); void playAudio(AfmAudio afmAudio); void next(); void continueAudio(); void pause(); void previous(); @Override void onClick(View view); void createNotification(int iconResource); void createNotification(); List<AfmAudio> getMyPlaylist(); boolean isPlaying(); boolean isPaused(); AfmAudio getCurrentAudio(); @Override void onProgressChanged(SeekBar seekBar, int i, boolean fromUser); @Override void onStartTrackingTouch(SeekBar seekBar); @Override void onStopTrackingTouch(SeekBar seekBar); void registerInvalidPathListener(OnInvalidPathListener registerInvalidPathListener); void kill(); void registerServiceListener(JcPlayerViewServiceListener jcPlayerServiceListener); void registerStatusListener(JcPlayerViewStatusListener statusListener);  }
@Test public void player_has_same_size_of_playlist_user(){ assertEquals(afmPlayerView.getMyPlaylist().size(), playlist.size()); }