Exemplo n.º 1
0
        public IProcessManager SetupManager()
        {
            config = new Mock <IFFmpegConfig>();
            var parser     = new FFmpegParser();
            var factory    = new FakeProcessFactory();
            var fileSystem = Mock.Of <FakeFileSystemService>(x =>
                                                             x.Exists(It.IsAny <string>()) == true && x.Exists(MissingFileName) == false);

            return(new ProcessManager(config.Object, parser, factory, fileSystem));
        }