public override void Context() { ConfigurationOptions.initialize_with(new Lazy <IConsole>(() => console.Object)); ConfigurationOptions.reset_options(); console.Setup((c) => c.Error).Returns(errorWriter); console.Setup((c) => c.Out).Returns(outputWriter); }
public override void Context() { ConfigurationOptions.initialize_with(new Lazy <IConsole>(() => console.Object)); console.Setup((c) => c.Error).Returns(writer); }