RepositoriesCalls gets all the calls that were made to Repositories. Check the length with: len(mockedSearcher.RepositoriesCalls())
()
| 206 | // |
| 207 | // len(mockedSearcher.RepositoriesCalls()) |
| 208 | func (mock *SearcherMock) RepositoriesCalls() []struct { |
| 209 | Query Query |
| 210 | } { |
| 211 | var calls []struct { |
| 212 | Query Query |
| 213 | } |
| 214 | mock.lockRepositories.RLock() |
| 215 | calls = mock.calls.Repositories |
| 216 | mock.lockRepositories.RUnlock() |
| 217 | return calls |
| 218 | } |
| 219 | |
| 220 | // URL calls URLFunc. |
| 221 | func (mock *SearcherMock) URL(query Query) string { |
nothing calls this directly
no outgoing calls
no test coverage detected