Stub<Z> class abstract

an interface for a stubbed method

Inheritance
Implementers

Constructors

Stub()

Properties

count int
exposes the count
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stub ← Z
set the stubbed method
no getter

Methods

increase() → void
increses the count by one, it's meant for internal use
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
set the count to 0
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

nullary<T>() NullaryStub<T, Nullary<T>>
unary<T, S>() UnaryStub<T, S, Unary<T, S>>