Example #1
0
        public void TestProvisioningApiAccountSetters()
        {
            var acc = new ProvisioningApiAccount();

            acc.AccountId             = AccountId;
            acc.ProvisioningApiKey    = ProvisioningApiKey;
            acc.ProvisioningApiSecret = ProvisioningApiSecret;

            AssertAccount(acc);
        }
Example #2
0
 private void AssertAccount(ProvisioningApiAccount account)
 {
     Assert.AreEqual(AccountId, account.AccountId);
     Assert.AreEqual(ProvisioningApiKey, account.ProvisioningApiKey);
     Assert.AreEqual(ProvisioningApiSecret, account.ProvisioningApiSecret);
 }
Example #3
0
        public void TestProvisioningApiAccountFromParams()
        {
            var acc = new ProvisioningApiAccount(AccountId, ProvisioningApiKey, ProvisioningApiSecret);

            AssertAccount(acc);
        }
Example #4
0
        public void TestProvisioningApiAccountFromUrl()
        {
            var acc = new ProvisioningApiAccount(accountUrl);

            AssertAccount(acc);
        }