recordingTelemetryClient captures the tracked events so tests can assert on them without hitting the network.
| 18 | // recordingTelemetryClient captures the tracked events so tests can assert on |
| 19 | // them without hitting the network. |
| 20 | type recordingTelemetryClient struct { |
| 21 | events []recordedEvent |
| 22 | } |
| 23 | |
| 24 | type recordedEvent struct { |
| 25 | name string |
nothing calls this directly
no outgoing calls
no test coverage detected