Exemplo n.º 1
0
 protected override void EstablishContext()
 {
     inf = GetInf();
     resourceFileProcessor = GetResourceFileProcessor();
     ILogger logger = Mock<ILogger>();
     SUT = new InfRepairer(resourceFileProcessor, logger);
 }
Exemplo n.º 2
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);
 }