Spectator::Allow(T)
Inherits Struct / Value / Object
Targets a stubbable object.
This type is effectively part of the mock DSL. It is primarily used in the mock DSL to provide this syntax:
allow(dbl).to
Constructors
new(target : T)
Creates the stub target.
The target must be a kind of Stubbable or StubbedType.