EasyMock.replay(libraryMock);
EasyMock.replay(trackCollectionMock);
EasyMock.replay(trackFactoryMock);
Artist albumArtist = ArtistImpl.create("Nelly Furtado", libraryMock);
Album loose = new AlbumImpl("Loose", albumArtist, libraryMock);
Album folklore = new AlbumImpl("Folklore", albumArtist, libraryMock);
EasyMock.reset(libraryMock);
EasyMock.expect(libraryMock.getAlbum("Loose", albumArtist)).andReturn(loose);
EasyMock.expect(libraryMock.getAlbum("Loose", albumArtist)).andReturn(loose);
EasyMock.expect(libraryMock.getAlbum("Folklore", albumArtist)).andReturn(folklore);