Expectation<T> constructor
const
Expectation<T> (
- Matcher call,
- Answer<
T> response
A captured method or property accessor -> a function that returns a value.
Implementation
const Expectation(this.call, this.response);