@Before
public void loadFunctionDependency() throws ApplicationException {
PostgreSQLUtil.loadFunction(dao, UPDATE_USER_TOP_ARTISTS);
arnOverall = new UserTopArtists(arn, Period.OVERALL,
new UserTopArtistsParserImpl(new ResourceUtil(
ARN_OVERALL_FILE).getInputStream()).getArtists());
arn6month = new UserTopArtists(arn, Period.SIX_MONTHS,
new UserTopArtistsParserImpl(new ResourceUtil(
ARN_6MONTH_FILE).getInputStream()).getArtists());
sys3month = new UserTopArtists(sys, Period.THREE_MONTHS,
new UserTopArtistsParserImpl(new ResourceUtil(
SYS_3MONTH_FILE).getInputStream()).getArtists());
createArtistMetaData();
}