private static Inf ParseInfFile(string infContents) { ILogger logger = Log.For<InfParser>(); InfParser parser = new InfParser(logger); Inf inf = parser.Parse(infContents); return inf; }
protected override Inf GetInf() { ILogger logger = Mock<ILogger>(); var parser = new InfParser(logger); return parser.Parse(SampleInfContents.SampleWithProperlyNamedFiles); }
protected virtual Inf GetInf() { ILogger logger = Mock<ILogger>(); var parser = new InfParser(logger); return parser.Parse(SampleInfContents.Sample); }
private Inf GetInf() { ILogger logger = Mock<ILogger>(); var parser = new InfParser(logger); return parser.Parse(SampleInfContents.Sample); }
protected override void EstablishContext() { ILogger logger = Mock<ILogger>(); SUT = new InfParser(logger); }