public class AcceptedResultAssertions : ContentResultAssertionsBase<AcceptedResultAssertions>
public static class AtcRestFluentAssertionsAssemblyTypeInitializer
public class BadRequestResultAssertions : ErrorContentResultAssertions<BadRequestResultAssertions>
public class ConflictResultAssertions : ErrorContentResultAssertions<ConflictResultAssertions>
public class ContentResultAssertions : ContentResultAssertionsBase<ContentResultAssertions>
AndConstraint<ContentResultAssertions> WithStatusCode(HttpStatusCode expectedStatusCode, string because = , object[] becauseArgs)
AndConstraint<ContentResultAssertions> WithStatusCode(int expectedStatusCode, string because = , object[] becauseArgs)
public abstract class ContentResultAssertionsBase<TAssertions> : ReferenceTypeAssertions<ContentResult, ContentResultAssertionsBase<TAssertions>>
AndWhichConstraint<TAssertions, ContentResult> WithContent(T expectedContent, string because = , object[] becauseArgs)
AndWhichConstraint<ObjectAssertions, T> WithContentOfType(string because = , object[] becauseArgs)
public class CreatedResultAssertions : ContentResultAssertionsBase<CreatedResultAssertions>
public abstract class ErrorContentResultAssertions<TAssertions> : ContentResultAssertionsBase<TAssertions>
AndWhichConstraint<TAssertions, ContentResult> WithErrorMessage(string expectedErrorMessage, string because = , object[] becauseArgs)
public class ForbiddenResultAssertions : ErrorContentResultAssertions<ForbiddenResultAssertions>
public class NoContentResultAssertions : ContentResultAssertionsBase<NoContentResultAssertions>
public class NotFoundResultAssertions : ErrorContentResultAssertions<NotFoundResultAssertions>
public class OkResultAssertions : ReferenceTypeAssertions<OkObjectResult, OkResultAssertions>
AndWhichConstraint<OkResultAssertions, OkObjectResult> WithContent(T expectedContent, string because = , object[] becauseArgs)
AndWhichConstraint<ObjectAssertions, T> WithContentOfType(string because = , object[] becauseArgs)
public class ResultAssertions : ReferenceTypeAssertions<ActionResult, ResultAssertions>
AcceptedResultAssertions BeAcceptedResult(string because = , object[] becauseArgs)
BadRequestResultAssertions BeBadRequestResult(string because = , object[] becauseArgs)
ConflictResultAssertions BeConflictResult(string because = , object[] becauseArgs)
ContentResultAssertions BeContentResult(string because = , object[] becauseArgs)
CreatedResultAssertions BeCreatedResult(string because = , object[] becauseArgs)
ForbiddenResultAssertions BeForbiddenResult(string because = , object[] becauseArgs)
NoContentResultAssertions BeNoContentResult(string because = , object[] becauseArgs)
NotFoundResultAssertions BeNotFoundResult(string because = , object[] becauseArgs)
OkResultAssertions BeOkResult(string because = , object[] becauseArgs)
Extensions for FluentAssertions that make testing Atc Rest handlers easier.
public static class ResultBaseExtensions
ResultAssertions Should(this ResultBase subject)Summary: Returns an
Atc.Rest.FluentAssertions.ResultAssertions
object that can be used to assert the currentsubject
.Parameters:
subject
- The subject to assert against.Returns: A
Atc.Rest.FluentAssertions.ResultAssertions
.
Generated by MarkdownCodeDoc version 1.2