Tests.AnalyseCommandTests.Analyse_WithoutDifferences_SuccessfulAnalyse C# (CSharp) Method

Analyse_WithoutDifferences_SuccessfulAnalyse() private method

private Analyse_WithoutDifferences_SuccessfulAnalyse ( ) : void
return void
        public void Analyse_WithoutDifferences_SuccessfulAnalyse()
        {
            // Init
            const string sourceFolder = @"D:\music\";
            var mp3Files = new List<IMp3File>
            {
                new FakeMp3File(new Mp3Tags
                {
                    Artist = "Alla", Title = "Arlekino"
                }, sourceFolder + "Alla - Arlekino.mp3")
            };
            var fakeWriter = new FakeWorker();
            var commandPool = mp3Files.Select(mp3File => new AnalyseCommand(mp3File, "{artist} - {title}", fakeWriter)).Cast<Command>().ToList();

            // Act
            commandPool.ForEach(command => command.Execute());

            // Assert
            Assert.AreEqual("", fakeWriter.Stream.ToString());
        }