예제 #1
0
        /// <inheritdoc/>
        protected override void HandleCheckException(MethodBase testOrigin, ParameterInfo testParam, Exception taskException)
        {
            if (testOrigin == null)
            {
                throw new ArgumentNullException(nameof(testOrigin));
            }
            if (taskException == null)
            {
                throw new ArgumentNullException(nameof(taskException));
            }

            _asserter.Fail(taskException, $"Exception encountered on method '{testOrigin.Name}'.");
        }