C# Class Affecto.Patterns.Domain.Tests.Infrastructure.ExpectedInnerExceptionAttribute

Inheritance: ExpectedExceptionBaseAttribute
Datei anzeigen Open project: affecto/dotnet-Patterns.Domain

Public Methods

Method Description
ExpectedInnerExceptionAttribute ( Type exceptionType, Type innerExceptionType ) : System

Protected Methods

Method Description
Verify ( Exception exception ) : void

Method Details

ExpectedInnerExceptionAttribute() public method

public ExpectedInnerExceptionAttribute ( Type exceptionType, Type innerExceptionType ) : System
exceptionType System.Type An expected type of exception to be thrown by a method.
innerExceptionType System.Type An expected type of inner exception to be thrown by a method.
return System

Verify() protected method

protected Verify ( Exception exception ) : void
exception System.Exception
return void