### Question:
PlaylistViewModel extends BaseViewModel { public LiveData<List<Playlist>> getPlaylists() { Disposable disposable = playlistRepository.getPlaylists() .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(videos -> playlists.setValue(videos)); addToUnsubsribed(disposable); return playlists; } @Inject  PlaylistViewModel(PlaylistRepository playlistRepository, PlaylistItemRepository playlistItemRepository); List<Integer> getVideoIdsToAdd(); void setVideoIdsToAdd(List<Integer> videoIdsToAdd); LiveData<List<Playlist>> getPlaylists(); void addPlayList(String title); void addVideosToPlaylist(List<Integer> videoIds, int playlistId); void deletePlayList(int playlistId);  }### Answer:
@Test public void getPlaylists_shouldReturnExactListFromRepository() { List<Playlist> playlistLists = playlistViewModel.getPlaylists().getValue(); TestUtil.assertEqualsPlayLists(mockPlaylists, playlistLists); }