public void Can_resolve_uri()
		{
			string apiUrl = "http://api.7digital.com/1.2";
			string consumerKey = new AppSettingsCredentials().ConsumerKey;
			string resolve = new HttpGetResolver().Resolve(new Uri(string.Format("{0}/status?oauth_consumer_key={1}", apiUrl, consumerKey)), "GET",
			                                               new Dictionary<string,string>());
			Assert.That(resolve, Is.Not.Empty);
		}
		public void Setup()
		{
			_consumerKey = new AppSettingsCredentials().ConsumerKey;
		}
Beispiel #3
0
 public ApiWithCredentials()
 {
     _credentials = new AppSettingsCredentials();
     _apiUrl      = new ApiUri();
 }