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());
        }
コード例 #2
0
 public SurveysController(SurveyMonkeyApi surveyMonkey)
 {
     _surveyMonkey = surveyMonkey;
 }