(mtaClient mtaclient.MtaClientOperations, mtaV2client mtaclient_v2.MtaV2ClientOperations, restClient restclient.RestClientOperations)
| 16 | } |
| 17 | |
| 18 | func NewTestClientFactory(mtaClient mtaclient.MtaClientOperations, |
| 19 | mtaV2client mtaclient_v2.MtaV2ClientOperations, |
| 20 | restClient restclient.RestClientOperations) *TestClientFactory { |
| 21 | return &TestClientFactory{ |
| 22 | RestClient: restClient, |
| 23 | MtaClient: mtaClient, |
| 24 | MtaV2Client: mtaV2client, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func (f *TestClientFactory) NewMtaClient(host, spaceID string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory) mtaclient.MtaClientOperations { |
| 29 | return f.MtaClient |
no outgoing calls
no test coverage detected