private void CreateEndpoints() { authUsersEndpoint = new AuthUsersEndpoint(restClient, apiKey); authUsersSecretsEndpoint = new AuthUsersSecretsEndpoint(restClient, apiKey); companiesEndpoint = new CompaniesEndpoint(restClient, apiKey); hotpsEndpoint = new HotpsEndpoint(restClient, apiKey); totpsEndpoint = new TotpsEndpoint(restClient, apiKey); tokensEndpoint = new TokensEndpoint(restClient); }
public void Setup() { _dataContextMock = new Mock <IDataContext>(); _companiesSorterMock = new Mock <ICompaniesSorter>(); _cut = new CompaniesEndpoint(_dataContextMock.Object, _companiesSorterMock.Object); }