use of com.github.hakko.musiccabinet.domain.model.library.TrackPlayCount in project musiccabinet by hakko.
the class ScrobbledTracksParserTest method verifyLibraryTrack.
private void verifyLibraryTrack(ScrobbledTracksParser parser, int libraryTrackIndex, String artistName, String trackName, int playCount) {
TrackPlayCount trackPlayCount = parser.getTrackPlayCounts().get(libraryTrackIndex);
assertTrue(artistName.equals(trackPlayCount.getTrack().getArtist().getName()));
assertTrue(trackName.equals(trackPlayCount.getTrack().getName()));
assertEquals(playCount, trackPlayCount.getPlayCount());
}
Aggregations