/** * Test method for. * * <p>{@link ext.services.lastfm.LastFmCache#storeAlbumInfo(java.lang.String, java.lang.String, * ext.services.lastfm.AlbumInfo)} . */ public void testStoreAlbumInfo() { LastFmCache cache = new LastFmCache(); LastFmAlbum album = new LastFmAlbum(); album.setBigCoverURL("testurl"); cache.storeAlbumInfo("Red Hot Chili Peppers", "By the way", album); assertNotNull(cache.retrieveAlbumInfo("Red Hot Chili Peppers", "By the way")); }
/** * Test method for. * * <p>{@link ext.services.lastfm.LastFmCache#retrieveAlbumInfo(java.lang.String, * java.lang.String)} . */ public void testRetrieveAlbumInfo() { LastFmCache cache = new LastFmCache(); assertNull(cache.retrieveAlbumInfo("Red Hot Chili Peppers", "By the way")); }