コード例 #1
0
        public void WhenIRequestForAnyImageToBeDownloaded()
        {
            var client = ScenarioCredentialsHelper.GetCredentials();
            var task   = client.Download().WithId("453126548").ExecuteAsync();

            ScenarioContext.Current.Set(task);
        }
コード例 #2
0
 public void GivenIConfigureMySearchForCreativeImages()
 {
     ScenarioContext.Current.Set(ScenarioCredentialsHelper.GetCredentials().Search().Images().Creative(),
                                 "request");
 }
コード例 #3
0
 public void WhenIConfigureMySearchForBlendedImages()
 {
     ScenarioContext.Current.Set(
         ScenarioCredentialsHelper.GetCredentials().Search().Images(), "request");
 }
コード例 #4
0
        public void WhenIAskTheSdkForAnAuthenticationToken()
        {
            var client = ScenarioCredentialsHelper.GetCredentials();

            ScenarioContext.Current.Add("task", client.GetAccessToken());
        }