public void CleanArtistPluginRemoveArtistFromTrackArtist() { var artist = "Bob Jones"; var trackArtist = "Bob Jones;Mary Jones"; var trackShouldBe = "Mary Jones"; var plugin = new CleanUpArtists(Configuration, CacheManager, Logger, TagsHelper); var cleaned = plugin.CleanArtist(trackArtist, artist); Assert.Equal(trackShouldBe, cleaned); }
public void CleanArtistPlugin(string artist, string shouldBe) { var plugin = new CleanUpArtists(Configuration, CacheManager, Logger, TagsHelper); Assert.Equal(shouldBe, plugin.CleanArtist(artist)); }