HTTPUnixSocketCalls gets all the calls that were made to HTTPUnixSocket. Check the length with: len(mockedConfig.HTTPUnixSocketCalls())
()
| 644 | // |
| 645 | // len(mockedConfig.HTTPUnixSocketCalls()) |
| 646 | func (mock *ConfigMock) HTTPUnixSocketCalls() []struct { |
| 647 | Hostname string |
| 648 | } { |
| 649 | var calls []struct { |
| 650 | Hostname string |
| 651 | } |
| 652 | mock.lockHTTPUnixSocket.RLock() |
| 653 | calls = mock.calls.HTTPUnixSocket |
| 654 | mock.lockHTTPUnixSocket.RUnlock() |
| 655 | return calls |
| 656 | } |
| 657 | |
| 658 | // Migrate calls MigrateFunc. |
| 659 | func (mock *ConfigMock) Migrate(migration gh.Migration) error { |
nothing calls this directly
no outgoing calls
no test coverage detected