private static final String BIO_CONTENT = "<strong>ABBA</strong> was a <a href=\"http://www.last.fm/tag/pop\" class=\"bbcode_tag\" rel=\"tag\">pop</a> music group formed in Stockholm, Sweden in November 1970. The band consisted of <a href=\"http://www.last.fm/music/Anni-Frid+Lyngstad\" class=\"bbcode_artist\">Anni-Frid Lyngstad</a> (<a href=\"http://www.last.fm/music/Frida\" class=\"bbcode_artist\">Frida</a>), <a href=\"http://www.last.fm/music/Bj%C3%B6rn+Ulvaeus\" class=\"bbcode_artist\">Björn Ulvaeus</a>, <a href=\"http://www.last.fm/music/Benny+Andersson\" class=\"bbcode_artist\">Benny Andersson</a>, and <a href=\"http://www.last.fm/music/Agnetha+F%C3%A4ltskog\" class=\"bbcode_artist\">Agnetha Fältskog</a>. (See also <a href=\"http://www.last.fm/music/Bj%25C3%25B6rn%2BUlvaeus%2B%2526%2BBenny%2BAndersson\" class=\"bbcode_artist\">Björn Ulvaeus & Benny Andersson</a>, as well as Benny's previous band <a href=\"http://www.last.fm/music/Hep+Stars\" class=\"bbcode_artist\">Hep Stars</a>.)\n \n They topped the charts worldwide from 1972 to 1982 with eight studio albums, achieving twenty-six #1 singles and numerous awards. They also won the 1974 Eurovision Song Contest with <a title=\"ABBA – Waterloo\" href=\"http://www.last.fm/music/ABBA/_/Waterloo\" class=\"bbcode_track\">Waterloo</a>.\n \n A <a href=\"http://www.last.fm/tag/jukebox%20musical\" class=\"bbcode_tag\" rel=\"tag\">jukebox musical</a> based on the music of ABBA titled <em><a href=\"http://en.wikipedia.org/wiki/Mamma_Mia!\" rel=\"nofollow\">Mamma Mia!</a></em> opened in London's West End in 1999 and has since become one of the most popular musicals in the world. In 2008, a movie version was made with <a href=\"http://www.last.fm/music/Meryl+Streep\" class=\"bbcode_artist\">Meryl Streep</a> among the cast.\n \n The recent <a href=\"http://rockhall.com/inductees/abba/\" rel=\"nofollow\">Rock and Roll Hall of Fame 2010 Induction Ceremony</a>, held on March 15 in New York, recognized the huge contribution of ABBA. Represented by Anni-Frid Lyngstad "Frida" and former husband/band member Benny Andersson, it was perhaps the crowning acknowledgment of the phenomenal success of Sweden's most famous four.";
@Test
public void resourceFileCorrectlyParsed() throws ApplicationException {
ArtistInfoParser parser = new ArtistInfoParserImpl(
new ResourceUtil(ARTIST_INFO_FILE).getInputStream());
ArtistInfo artistInfo = parser.getArtistInfo();
assertEquals(new Artist("ABBA"), artistInfo.getArtist());