public TextTester(ISimpleLogger logger, ILogAsserter logAsserter, ITextDifferenceFormatter differenceFormatter) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.logAssert = logAsserter ?? throw new ArgumentNullException(nameof(logAsserter)); this.differenceFormatter = differenceFormatter ?? throw new ArgumentNullException(nameof(differenceFormatter)); this.actualText = string.Empty; this.expectedText = string.Empty; }
public TextTester(ILogAsserter logAsserter, ITextDifferenceFormatter differenceFormatter) : this(new SimpleConsoleLogger(), logAsserter, differenceFormatter) { }