/**
  * Test method for.
  *
  * <p>{@link ext.services.lastfm.LastFmCache#storeArtistInfo(java.lang.String,
  * ext.services.lastfm.ArtistInfo)} .
  */
 public void testStoreArtistInfo() {
   LastFmCache cache = new LastFmCache();
   LastFmArtist artist = new LastFmArtist();
   artist.setName("Red Hot Chili Peppers");
   cache.storeArtistInfo("Red Hot Chili Peppers", artist);
   assertNotNull(cache.retrieveArtistInfo("Red Hot Chili Peppers"));
   assertEquals(
       "Red Hot Chili Peppers", cache.retrieveArtistInfo("Red Hot Chili Peppers").getName());
 }
 /**
  * Test method for.
  *
  * <p>{@link ext.services.lastfm.LastFmCache#storeArtistThumbImage(ext.services.lastfm.ArtistInfo,
  * java.awt.Image)} .
  */
 public void testStoreArtistThumbImage() {
   LastFmCache cache = new LastFmCache();
   LastFmArtist artist = new LastFmArtist();
   artist.setName("Red Hot Chili Peppers");
   Image cover = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB);
   cache.storeArtistThumbImage(artist, cover);
   assertNotNull(cache.retrieveArtistThumbImage(artist));
   assertEquals(10, cache.retrieveArtistThumbImage(artist).getHeight(null));
 }
 /**
  * Test method for.
  *
  * <p>{@link
  * ext.services.lastfm.LastFmCache#retrieveArtistThumbImage(ext.services.lastfm.ArtistInfo)} .
  */
 public void testRetrieveArtistThumbImage() {
   LastFmCache cache = new LastFmCache();
   LastFmArtist artist = new LastFmArtist();
   artist.setName("Red Hot Chili Peppers");
   assertNull(cache.retrieveArtistThumbImage(artist));
 }