protected TestInitializationData InitializeMultipleFiles(Action <ConfigurationBuilder> configuration)
        {
            MockFileOperations mfo = new MockFileOperations();

            ExportContext ec = new ExportContext(new Assembly[] { Assembly.GetExecutingAssembly(), typeof(TestFluentAssembly.TwoInterfaces.IInterface1).Assembly }, mfo)
            {
                ConfigurationMethod = configuration,
                Hierarchical        = true,
                TargetDirectory     = TargetDir
            };
            TsExporter te = new TsExporter(ec);

            te.Initialize();
            return(new TestInitializationData(mfo, te));
        }
        protected TestInitializationData InitializeSingleFile(Action <ConfigurationBuilder> configuration)
        {
            MockFileOperations mfo = new MockFileOperations();

            ExportContext ec = new ExportContext(mfo)
            {
                ConfigurationMethod = configuration,
                Hierarchical        = false,
                SourceAssemblies    = new Assembly[] { Assembly.GetExecutingAssembly(), typeof(TestFluentAssembly.TwoInterfaces.IInterface1).Assembly },
                TargetDirectory     = "D:\\",
                TargetFile          = Sample
            };
            TsExporter te = new TsExporter(ec);

            te.Initialize();
            return(new TestInitializationData(mfo, te));
        }
 public TestInitializationData(MockFileOperations files, TsExporter exporter)
 {
     Files    = files;
     Exporter = exporter;
 }