Interface IAggregateExceptionTestBuilder
Used for testing System.AggregateException.
Inherited Members
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.CaughtExceptions
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public interface IAggregateExceptionTestBuilder : IBaseExceptionTestBuilder, IBaseTestBuilderWithComponent, IBaseTestBuilder
Methods
| Improve this Doc View SourceContainingInnerExceptionOfType<TInnerException>()
Tests whether System.AggregateException contains inner exception of the provided type.
Declaration
IAndAggregateExceptionTestBuilder ContainingInnerExceptionOfType<TInnerException>()where TInnerException : Exception
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.CaughtExceptions.IAndAggregateExceptionTestBuilder | The same MyTested.AspNetCore.Mvc.Builders.Contracts.CaughtExceptions.IAndAggregateExceptionTestBuilder. |
Type Parameters
Name | Description |
---|---|
TInnerException | Expected inner exception type. |