Esempio n. 1
0
 public void ConstructorSetsBaseUrl()
 {
     var settings = new RPXApiSettings("http://abc.com/", "");
     var api = new RPXApiWrapper(settings);
     Assert.AreEqual("http://abc.com/", api.BaseUrl);
 }
Esempio n. 2
0
 public void ConstructorAppendsDirectorySeperatorIfNotExists()
 {
     var settings = new RPXApiSettings("http://abc.com", "");
     var api = new RPXApiWrapper(settings);
     Assert.AreEqual("http://abc.com/", api.BaseUrl);
 }
Esempio n. 3
0
 public void ConstructorSetsApiKey()
 {
     var settings = new RPXApiSettings("http://abc.com/", "apikey");
     var api = new RPXApiWrapper(settings);
     Assert.AreEqual("apikey", api.ApiKey);
 }