ServerURL calls ServerURLFunc.
()
| 894 | |
| 895 | // ServerURL calls ServerURLFunc. |
| 896 | func (mock *apiClientMock) ServerURL() string { |
| 897 | if mock.ServerURLFunc == nil { |
| 898 | panic("apiClientMock.ServerURLFunc: method is nil but apiClient.ServerURL was just called") |
| 899 | } |
| 900 | callInfo := struct { |
| 901 | }{} |
| 902 | mock.lockServerURL.Lock() |
| 903 | mock.calls.ServerURL = append(mock.calls.ServerURL, callInfo) |
| 904 | mock.lockServerURL.Unlock() |
| 905 | return mock.ServerURLFunc() |
| 906 | } |
| 907 | |
| 908 | // ServerURLCalls gets all the calls that were made to ServerURL. |
| 909 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected