mockPublisher records all Publish calls for assertions.
| 12 | |
| 13 | // mockPublisher records all Publish calls for assertions. |
| 14 | type mockPublisher struct { |
| 15 | calls []publishCall |
| 16 | } |
| 17 | |
| 18 | type publishCall struct { |
| 19 | subject string |
nothing calls this directly
no outgoing calls
no test coverage detected