public void CanConvertValidPSAzureAccounts(string id, AzureAccount.AccountType type)
 {
     var oldAccount = new PSAzureRmAccount
     {
         Id = id,
         AccountType = type.ToString()
     };
     var account = (AzureAccount)oldAccount;
     Assert.Equal(oldAccount.AccountType, account.Type.ToString());
     Assert.Equal(oldAccount.Id, account.Id);
 }