private ChangeTags_SplitsInFilenameMoreThanInMask_InvalidDataException ( ) : void | ||
return | void |
public void ChangeTags_SplitsInFilenameMoreThanInMask_InvalidDataException()
{
// Init
var mp3Files = new List<IMp3File>
{
new FakeMp3File(new Mp3Tags{Artist = "artist", Title = "title"}, SourceFolder + "-newartist-newtitle.mp3"),
};
// Act
var commandPool = mp3Files.Select(mp3File => new ChangeTagsCommand(mp3File, "{artist}-{title}")).Cast<Command>().ToList();
commandPool.ForEach(command => command.Execute());
}