HttpAssertions class

A bounded, deterministic request assertion surface used by generated HTTP steps. It intentionally accepts logical endpoint IDs only.

Constructors

HttpAssertions()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

expectJson(HttpResponseSpec response, String pointer, Object? expected) → void
Asserts that a JSON pointer equals expected.
expectLatency(HttpResponseSpec response, Duration maximum) → void
Asserts that response latency does not exceed maximum.
expectStatus(HttpResponseSpec response, int status) → void
Asserts that response has status.
jsonPointer(Object? value, String pointer) → Object?
Resolves a JSON Pointer against value.