public void WhenIRequestForAnyImageToBeDownloaded() { var client = ScenarioCredentialsHelper.GetCredentials(); var task = client.Download().WithId("453126548").ExecuteAsync(); ScenarioContext.Current.Set(task); }
public void GivenIConfigureMySearchForCreativeImages() { ScenarioContext.Current.Set(ScenarioCredentialsHelper.GetCredentials().Search().Images().Creative(), "request"); }
public void WhenIConfigureMySearchForBlendedImages() { ScenarioContext.Current.Set( ScenarioCredentialsHelper.GetCredentials().Search().Images(), "request"); }
public void WhenIAskTheSdkForAnAuthenticationToken() { var client = ScenarioCredentialsHelper.GetCredentials(); ScenarioContext.Current.Add("task", client.GetAccessToken()); }