DwUnpreparedServerCall class

Thrown when the code under test performed a server operation the test never prepared an answer for.

It is a failure and not an empty answer on purpose: a read nobody prepared is a test that does not know what its subject fetches, and an empty list would hide that behind an empty-state widget that looks deliberate.

Inheritance

Constructors

DwUnpreparedServerCall(String operation, String responder, String details)

Properties

details → String
What was asked for, so the message names the call and not just the method.
final
hashCode → int
The hash code for this object.
no setterinherited
operation → String
The transport method that was called.
final
responder → String
The field on DwRecordingServerTransport that would answer it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The stack trace at the point where this error was first thrown.
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.
override

Operators

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