public void remuxTemplate3EAC3ToOutputNamingService_can_set_video_name_test()
{
//given not extract for remux
EAC3ToConfiguration config = new EAC3ToConfiguration()
{
IsExtractForRemux = true,
RemuxFileNameTemplate = new EAC3ToRemuxFileNameTemplate()
{
AudioType = "FLAC 5.1",
SeriesName = "BatchGuy",
SeasonNumber = "2",
SeasonYear = "1978",
Tag = "Guy",
VideoResolution = "1080p",
Medium = "Remux"
}
};
string filesOutputPath = "c:\\bluray";
string paddedEpisodeNumber = "01";
string episodeName = "Episode One";
//when i get the chapter name
IAudioService audioService = new AudioService();
AbstractEAC3ToOutputNamingService service = new RemuxTemplate3EAC3ToOutputNamingService(audioService);
string videoName = service.GetVideoName(config, filesOutputPath, paddedEpisodeNumber, episodeName);
//then chapter name should be based on the remux template
videoName.Should().Be("\"c:\\bluray\\2x01 Episode One.mkv\"");
}