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

Class ComponentShouldHaveTestBuilderHttpExtensions

Contains Microsoft.AspNetCore.Http.HttpResponse extension methods for IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder>.

Inheritance
System.Object
ComponentShouldHaveTestBuilderHttpExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Http.dll
Syntax
public static class ComponentShouldHaveTestBuilderHttpExtensions

Methods

| Improve this Doc View Source

HttpResponse<TBuilder>(IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder>, Action<IHttpResponseTestBuilder>)

Tests whether the component applies additional features to the Microsoft.AspNetCore.Http.HttpResponse.

Declaration
public static TBuilder HttpResponse<TBuilder>(this IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder> builder, Action<IHttpResponseTestBuilder> httpResponseTestBuilder)where TBuilder : IBaseTestBuilder
Parameters
Type Name Description
IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder> builder

Instance of IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder> type.

System.Action<IHttpResponseTestBuilder> httpResponseTestBuilder

Builder for testing the Microsoft.AspNetCore.Http.HttpResponse.

Returns
Type Description
TBuilder

The same component should have test builder.

Type Parameters
Name Description
TBuilder Class representing ASP.NET Core MVC test builder.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX