Example #1
0
 private static void RepairInfFile(Inf inf)
 {
     ILogger logger = Log.For<InfRepairer>();
     IResourceFileProcessor processor = new ResourceFileProcessor();
     InfRepairer repairer = new InfRepairer(processor, logger);
     repairer.Repair(inf);
 }
 protected override void EstablishContext()
 {
     SUT = GetInf();
     resourceFileProcessor = GetResourceFileProcessor();
     ILogger logger = Mock<ILogger>();
     var infRepairer = new InfRepairer(resourceFileProcessor, logger);
     infRepairer.Repair(SUT);
 }