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

Class ShouldReturnTestBuilderJsonResultExtensions

Contains Microsoft.AspNetCore.Mvc.JsonResult extension methods for IShouldReturnTestBuilder<TActionResult>.

Inheritance
System.Object
ShouldReturnTestBuilderJsonResultExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.ViewActionResults.dll
Syntax
public static class ShouldReturnTestBuilderJsonResultExtensions

Methods

| Improve this Doc View Source

Json<TActionResult>(IShouldReturnTestBuilder<TActionResult>)

Tests whether the action result is Microsoft.AspNetCore.Mvc.JsonResult.

Declaration
public static IAndJsonTestBuilder Json<TActionResult>(this IShouldReturnTestBuilder<TActionResult> builder)
Parameters
Type Name Description
IShouldReturnTestBuilder<TActionResult> builder

Instance of IShouldReturnTestBuilder<TActionResult> type.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.ActionResults.Json.IAndJsonTestBuilder

Test builder of MyTested.AspNetCore.Mvc.Builders.Contracts.ActionResults.Json.IAndJsonTestBuilder type.

Type Parameters
Name Description
TActionResult Type of action result type.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX