new DeferredSubject()
A class which functions as a subject, but doesn't actually execute any assertions right away - instead, the assertions are recorded in a list of calls, which can be played back later, multiple times, on different subjects.
- Source:
Extends
Methods
invoke()
Called for a proxied method; records a method call for later playback.
- Overrides:
- Source:
run()
Executes all of the recorded methods on a new subject.
- Source: