@Test
public void calculatesMissingAndOutdatedArtists() {
assertEquals(2, artistDao.getMissingAndOutdatedArtistsCount()); // 2 missing artists
artistDao.createArtists(Arrays.asList(
new MBArtist(artist1.getName(), MBID, COUNTRY_CODE, START_YEAR, ACTIVE),
new MBArtist(artist2.getName(), MBID, COUNTRY_CODE, START_YEAR, ACTIVE)));
assertEquals(2, artistDao.getMissingAndOutdatedArtistsCount()); // 2 missing albums
artistDao.getJdbcTemplate().execute(String.format(
"insert into library.webservice_history (artist_id, invocation_time, calltype_id)"