verifyLibraryTrack(parser, 99, "The Radio Dept.", "Gibraltar", 41);
}
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());
}