6 references to Throws
xunit.assert (6)
ExceptionAsserts.cs (6)
59
Throws
(exceptionType, RecordException(testCode));
75
Throws
(exceptionType, RecordException(testCode, nameof(ThrowsAsync)));
96
(T)
Throws
(typeof(T), RecordException(testCode));
113
(T)
Throws
(typeof(T), RecordException(testCode, nameof(ThrowsAsync)));
261
Throws
(exceptionType, await RecordExceptionAsync(testCode));
272
(T)
Throws
(typeof(T), await RecordExceptionAsync(testCode));