Search in sources :

Example 1 with ComicSeriesToComicSeriesDetailsViewModelMapper

use of com.karumi.rosie.sample.comics.view.viewmodel.mapper.ComicSeriesToComicSeriesDetailsViewModelMapper in project Rosie by Karumi.

the class ComicSeriesDetailsActivityTest method givenComicData.

private List<ComicSeriesDetailViewModel> givenComicData(ComicSeries comicSeries) {
    ComicSeriesToComicSeriesDetailsViewModelMapper mapper = new ComicSeriesToComicSeriesDetailsViewModelMapper();
    ComicSeriesDetailsViewModel comicSeriesDetailsViewModel = mapper.map(comicSeries);
    return comicSeriesDetailsViewModel.getComicSeriesDetailViewModels();
}
Also used : ComicSeriesDetailsViewModel(com.karumi.rosie.sample.comics.view.viewmodel.ComicSeriesDetailsViewModel) ComicSeriesToComicSeriesDetailsViewModelMapper(com.karumi.rosie.sample.comics.view.viewmodel.mapper.ComicSeriesToComicSeriesDetailsViewModelMapper)

Aggregations

ComicSeriesDetailsViewModel (com.karumi.rosie.sample.comics.view.viewmodel.ComicSeriesDetailsViewModel)1 ComicSeriesToComicSeriesDetailsViewModelMapper (com.karumi.rosie.sample.comics.view.viewmodel.mapper.ComicSeriesToComicSeriesDetailsViewModelMapper)1