EventRecorderSpy captures recorded and pending events in recording order.
| 13 | |
| 14 | // EventRecorderSpy captures recorded and pending events in recording order. |
| 15 | type EventRecorderSpy struct { |
| 16 | events []*ghtelemetry.Event |
| 17 | } |
| 18 | |
| 19 | // Record captures a complete event. |
| 20 | func (r *EventRecorderSpy) Record(event ghtelemetry.Event) { |
nothing calls this directly
no outgoing calls
no test coverage detected