}
public void testShowScrobbleLog() throws Exception {
final TestResponse res = new TestResponse();
final Userer u = new Userer();
final List<Track> tracks = new ArrayList<Track>();
final Artist artist = TestUtils.getArtist();
final Album album = TestUtils.getAlbum(artist);
final Genre genre = TestUtils.getGenre();
final Track track = TestUtils.getTrack(artist, album, genre);
tracks.add( track );
u.setResponse( res );
u.showScrobbleLog( tracks );
final String data = res.getOutput();
// http headers
assertTrue( data.contains("Content-Disposition") );
assertTrue( data.contains(".scrobbler.log") );