BatchGuy.Unit.Tests.Services.Eac3to.EncodeTemplate1EAC3ToOutputNamingServiceTests.encodeTemplate1EAC3ToOutputNamingService_can_set_video_name_when_not_extract_for_remux_test C# (CSharp) Метод

encodeTemplate1EAC3ToOutputNamingService_can_set_video_name_when_not_extract_for_remux_test() приватный Метод

        public void encodeTemplate1EAC3ToOutputNamingService_can_set_video_name_when_not_extract_for_remux_test()
        {
            //given not extract for remux
            EAC3ToConfiguration config = new EAC3ToConfiguration() { IsExtractForRemux = false };
            string filesOutputPath = "c:\\bluray";
            string paddedEpisodeNumber = "01";
            string episodeName = string.Empty;
            //when i get the video name
            IAudioService audioService = new AudioService();
            AbstractEAC3ToOutputNamingService service = new EncodeTemplate1EAC3ToOutputNamingService(audioService);
            string videoName = service.GetVideoName(config, filesOutputPath, paddedEpisodeNumber, episodeName);
            //then video name should be hard coded for workflow
            videoName.Should().Be("\"c:\\bluray\\video01.mkv\"");
        }