MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

Interface IAggregateExceptionTestBuilder

Used for testing System.AggregateException.

Inherited Members
IBaseExceptionTestBuilder.WithMessage()
IBaseExceptionTestBuilder.WithMessage(String)
IBaseTestBuilderWithComponent.ShouldPassForThe<TComponent>(Action<TComponent>)
IBaseTestBuilderWithComponent.ShouldPassForThe<TComponent>(Func<TComponent, Boolean>)
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 Source

ContainingInnerExceptionOfType<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.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX