()
| 11595 | super(origin, opts); |
| 11596 | if (!opts || !opts.agent || typeof opts.agent.dispatch !== "function") { |
| 11597 | throw new InvalidArgumentError("Argument opts.agent must implement Agent"); |
| 11598 | } |
| 11599 | this[kMockAgent] = opts.agent; |
| 11600 | this[kOrigin] = origin; |
| 11601 | this[kDispatches] = []; |
| 11602 | this[kConnected] = 1; |
nothing calls this directly
no outgoing calls
no test coverage detected