getTestable function
- @visibleForTesting
- GitLabHttpClient httpClient, [
- String token = 'secret-token'
A helper function to get a GitLab instance with a GitLabHttpClient
that
can be mocked.
Implementation
@visibleForTesting
GitLab getTestable(GitLabHttpClient httpClient,
[String token = 'secret-token']) =>
new GitLab._test(httpClient, token);