public void TestConnectionToSurveyMonkey() { var apiKey = Environment.GetEnvironmentVariable("SM_APIKEY"); var token = Environment.GetEnvironmentVariable("SM_TOKEN"); var sm = new SurveyMonkeyApi(apiKey, token); CollectionAssert.AllItemsAreNotNull(sm.GetSurveyList()); }
public SurveysController(SurveyMonkeyApi surveyMonkey) { _surveyMonkey = surveyMonkey; }