コード例 #1
0
ファイル: ReporterTests.cs プロジェクト: ymartin/pact-net
        public void Flush_WithReportedFailureReasonThatContainsNoFailuresOnTheComparisonResult_DoesNotCallTheOutputter()
        {
            const string comparisonMessage = "The thing I am testing";

            var reporter = GetSubject();

            var comparisonResult = new ComparisonResult(comparisonMessage);

            reporter.ReportFailureReasons(comparisonResult);
            reporter.Flush();

            _reportOutputter.DidNotReceive().Write(Arg.Any <string>());
        }