public void TestProvisioningApiAccountSetters() { var acc = new ProvisioningApiAccount(); acc.AccountId = AccountId; acc.ProvisioningApiKey = ProvisioningApiKey; acc.ProvisioningApiSecret = ProvisioningApiSecret; AssertAccount(acc); }
private void AssertAccount(ProvisioningApiAccount account) { Assert.AreEqual(AccountId, account.AccountId); Assert.AreEqual(ProvisioningApiKey, account.ProvisioningApiKey); Assert.AreEqual(ProvisioningApiSecret, account.ProvisioningApiSecret); }
public void TestProvisioningApiAccountFromParams() { var acc = new ProvisioningApiAccount(AccountId, ProvisioningApiKey, ProvisioningApiSecret); AssertAccount(acc); }
public void TestProvisioningApiAccountFromUrl() { var acc = new ProvisioningApiAccount(accountUrl); AssertAccount(acc); }