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