public void GetArtistDirectoryName_GivenArtistNameWithNoSpecialCharacters() { // Arrange var sut = new DirectoryNamer(); var artistName = "ArtistName"; var track = CreateTrack(artistName); // Act var result = sut.GetArtistDirectoryName(track); // Assert Assert.AreEqual("ArtistName", result); }
public void GetAlbumDirectoryName_GivenAlbumTitleWithColon() { // Arrange var sut = new DirectoryNamer(); var albumTitle = "Album:Title"; var track = CreateTrack(albumTitle: albumTitle); // Act var result = sut.GetAlbumDirectoryName(track); // Assert Assert.AreEqual("Album_Title", result); }