scannerService.add(set(media3));
List<Album> albums = browserService.getAlbums(artistId, true);
assertAlbums(albums, artist, "Embedded artwork", "Folder artwork");
Album folderArtAlbum = getAlbum(albums, "Folder artwork");
Album embeddedArtAlbum = getAlbum(albums, "Embedded artwork");
Assert.assertTrue(embeddedArtAlbum.getCoverArtPath() != null);
Assert.assertTrue(embeddedArtAlbum.isCoverArtEmbedded());
Assert.assertTrue(embeddedArtAlbum.getCoverArtURL() == null);
Assert.assertTrue(folderArtAlbum.getCoverArtPath() != null);
Assert.assertFalse(folderArtAlbum.isCoverArtEmbedded());
Assert.assertTrue(folderArtAlbum.getCoverArtURL() == null);
Assert.assertTrue(embeddedArtAlbum.getCoverArtPath().endsWith(
"Embedded artwork.mp3"));
Assert.assertTrue(folderArtAlbum.getCoverArtPath().endsWith(
"folder.png"));
}