Esempio n. 1
0
 public void It_should_get_results()
 {
     var webClient = new RainierWebClient();
     var results =
         new GettyImageRepository(webClient, new SecurityTokenRepository(webClient)).GetImageData("water");
     results.ShouldNotBeNull();
 }
Esempio n. 2
0
        public void It_should_get_a_token()
        {
            var webClient = new RainierWebClient();
            var token = new SecurityTokenRepository(webClient).GetSecurityToken();

            token.ShouldNotBeNull();
            Console.WriteLine(token);
        }