Beispiel #1
0
        public ComparisonResult(ITestStep testStep, IExpectedContent expectedContent, IActualContent actualContent)
        {
            Guard.IsNotNull(testStep, nameof(testStep));
            Guard.IsNotNull(expectedContent, nameof(expectedContent));
            Guard.IsNotNull(actualContent, nameof(actualContent));

            this.Step  = testStep;
            lazyResult = new Lazy <bool>(() => expectedContent.CompareTo(actualContent));
        }