public void CTOR_PassedBadToken_ThrowsException() { var api = new PagerDutyAPI("Value",""); }
public void CTOR_SetsCorrectValues() { var api = new PagerDutyAPI("domain","token"); Assert.AreEqual("domain",api.Subdomain); Assert.AreEqual("token",api.AccessToken); }
public void CTOR_PassedBadDomain_ThrowsException() { var api = new PagerDutyAPI(null,"Value"); }