diff --git a/.vs/IO.ClickSend/FileContentIndex/285f7250-cf60-4b5b-868d-189ef8b73e11.vsidx b/.vs/IO.ClickSend/FileContentIndex/285f7250-cf60-4b5b-868d-189ef8b73e11.vsidx
new file mode 100644
index 0000000..c665471
Binary files /dev/null and b/.vs/IO.ClickSend/FileContentIndex/285f7250-cf60-4b5b-868d-189ef8b73e11.vsidx differ
diff --git a/.vs/IO.ClickSend/FileContentIndex/c14eaf4a-17cc-407b-9032-3dff0a277dd0.vsidx b/.vs/IO.ClickSend/FileContentIndex/c14eaf4a-17cc-407b-9032-3dff0a277dd0.vsidx
new file mode 100644
index 0000000..caee88d
Binary files /dev/null and b/.vs/IO.ClickSend/FileContentIndex/c14eaf4a-17cc-407b-9032-3dff0a277dd0.vsidx differ
diff --git a/.vs/IO.ClickSend/FileContentIndex/c18f0c91-7bbd-46a1-aaef-c32a346beeb7.vsidx b/.vs/IO.ClickSend/FileContentIndex/c18f0c91-7bbd-46a1-aaef-c32a346beeb7.vsidx
new file mode 100644
index 0000000..6282c9c
Binary files /dev/null and b/.vs/IO.ClickSend/FileContentIndex/c18f0c91-7bbd-46a1-aaef-c32a346beeb7.vsidx differ
diff --git a/.vs/IO.ClickSend/FileContentIndex/read.lock b/.vs/IO.ClickSend/FileContentIndex/read.lock
new file mode 100644
index 0000000..e69de29
diff --git a/IO.ClickSend.sln b/IO.ClickSend.sln
index e85d59b..cd34121 100644
--- a/IO.ClickSend.sln
+++ b/IO.ClickSend.sln
@@ -1,8 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-VisualStudioVersion = 12.0.0.0
-MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.ClickSend", "src\IO.ClickSend\IO.ClickSend.csproj", "{82E3D3C9-B6A1-45CF-A61E-4A8E7068CF04}"
+# Visual Studio Version 17
+VisualStudioVersion = 17.4.33213.308
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.ClickSend", "src\IO.ClickSend\IO.ClickSend.csproj", "{40073990-79D7-4D2B-A39C-2B1EDCFAC85F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.ClickSend.Test", "src\IO.ClickSend.Test\IO.ClickSend.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {82E3D3C9-B6A1-45CF-A61E-4A8E7068CF04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {82E3D3C9-B6A1-45CF-A61E-4A8E7068CF04}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {82E3D3C9-B6A1-45CF-A61E-4A8E7068CF04}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {82E3D3C9-B6A1-45CF-A61E-4A8E7068CF04}.Release|Any CPU.Build.0 = Release|Any CPU
+ {40073990-79D7-4D2B-A39C-2B1EDCFAC85F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {40073990-79D7-4D2B-A39C-2B1EDCFAC85F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {40073990-79D7-4D2B-A39C-2B1EDCFAC85F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {40073990-79D7-4D2B-A39C-2B1EDCFAC85F}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -24,4 +24,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
-EndGlobal
\ No newline at end of file
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {45787408-9147-49F5-8D7D-861030BDB7AF}
+ EndGlobalSection
+EndGlobal
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/AccountApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/AccountApiTests.cs
index 8888992..a710097 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/AccountApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/AccountApiTests.cs
@@ -14,11 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class AccountApiTests
{
private AccountApi instance;
@@ -37,7 +37,7 @@ public class AccountApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new AccountApi();
@@ -46,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of AccountApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' AccountApi
@@ -65,7 +65,7 @@ public void InstanceTest()
///
/// Test AccountGet
///
- [Test]
+ [TestMethod]
public void AccountGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +75,7 @@ public void AccountGetTest()
///
/// Test AccountPost
///
- [Test]
+ [TestMethod]
public void AccountPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -86,7 +86,7 @@ public void AccountPostTest()
///
/// Test AccountUseageBySubaccountGet
///
- [Test]
+ [TestMethod]
public void AccountUseageBySubaccountGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +98,7 @@ public void AccountUseageBySubaccountGetTest()
///
/// Test AccountVerifySendPut
///
- [Test]
+ [TestMethod]
public void AccountVerifySendPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -109,7 +109,7 @@ public void AccountVerifySendPutTest()
///
/// Test AccountVerifyVerifyByActivationTokenPut
///
- [Test]
+ [TestMethod]
public void AccountVerifyVerifyByActivationTokenPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -120,7 +120,7 @@ public void AccountVerifyVerifyByActivationTokenPutTest()
///
/// Test ForgotPasswordPut
///
- [Test]
+ [TestMethod]
public void ForgotPasswordPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -131,7 +131,7 @@ public void ForgotPasswordPutTest()
///
/// Test ForgotPasswordVerifyPut
///
- [Test]
+ [TestMethod]
public void ForgotPasswordVerifyPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -142,7 +142,7 @@ public void ForgotPasswordVerifyPutTest()
///
/// Test ForgotUsernamePut
///
- [Test]
+ [TestMethod]
public void ForgotUsernamePutTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/AccountRechargeApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/AccountRechargeApiTests.cs
index fb84b0a..c35eadd 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/AccountRechargeApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/AccountRechargeApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class AccountRechargeApiTests
{
private AccountRechargeApi instance;
@@ -37,7 +38,7 @@ public class AccountRechargeApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new AccountRechargeApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of AccountRechargeApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' AccountRechargeApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test RechargeCreditCardGet
///
- [Test]
+ [TestMethod]
public void RechargeCreditCardGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +76,7 @@ public void RechargeCreditCardGetTest()
///
/// Test RechargeCreditCardPut
///
- [Test]
+ [TestMethod]
public void RechargeCreditCardPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -86,7 +87,7 @@ public void RechargeCreditCardPutTest()
///
/// Test RechargePackagesGet
///
- [Test]
+ [TestMethod]
public void RechargePackagesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -97,7 +98,7 @@ public void RechargePackagesGetTest()
///
/// Test RechargePurchaseByPackageIdPut
///
- [Test]
+ [TestMethod]
public void RechargePurchaseByPackageIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -108,7 +109,7 @@ public void RechargePurchaseByPackageIdPutTest()
///
/// Test RechargeTransactionsByTransactionIdGet
///
- [Test]
+ [TestMethod]
public void RechargeTransactionsByTransactionIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -119,7 +120,7 @@ public void RechargeTransactionsByTransactionIdGetTest()
///
/// Test RechargeTransactionsGet
///
- [Test]
+ [TestMethod]
public void RechargeTransactionsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/ContactApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/ContactApiTests.cs
index 6dddaa6..ef9b6d5 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/ContactApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/ContactApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class ContactApiTests
{
private ContactApi instance;
@@ -37,7 +38,7 @@ public class ContactApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new ContactApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of ContactApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' ContactApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test ListsContactsByListIdAndContactIdDelete
///
- [Test]
+ [TestMethod]
public void ListsContactsByListIdAndContactIdDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -77,7 +78,7 @@ public void ListsContactsByListIdAndContactIdDeleteTest()
///
/// Test ListsContactsByListIdAndContactIdGet
///
- [Test]
+ [TestMethod]
public void ListsContactsByListIdAndContactIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -89,7 +90,7 @@ public void ListsContactsByListIdAndContactIdGetTest()
///
/// Test ListsContactsByListIdAndContactIdPut
///
- [Test]
+ [TestMethod]
public void ListsContactsByListIdAndContactIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -102,7 +103,7 @@ public void ListsContactsByListIdAndContactIdPutTest()
///
/// Test ListsContactsByListIdGet
///
- [Test]
+ [TestMethod]
public void ListsContactsByListIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -116,7 +117,7 @@ public void ListsContactsByListIdGetTest()
///
/// Test ListsContactsByListIdPost
///
- [Test]
+ [TestMethod]
public void ListsContactsByListIdPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -128,7 +129,7 @@ public void ListsContactsByListIdPostTest()
///
/// Test ListsCopyContactPut
///
- [Test]
+ [TestMethod]
public void ListsCopyContactPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -141,7 +142,7 @@ public void ListsCopyContactPutTest()
///
/// Test ListsRemoveOptedOutContactsByListIdAndOptOutListIdPut
///
- [Test]
+ [TestMethod]
public void ListsRemoveOptedOutContactsByListIdAndOptOutListIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -153,7 +154,7 @@ public void ListsRemoveOptedOutContactsByListIdAndOptOutListIdPutTest()
///
/// Test ListsTransferContactPut
///
- [Test]
+ [TestMethod]
public void ListsTransferContactPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/ContactListApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/ContactListApiTests.cs
index 966fe89..cc54f8d 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/ContactListApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/ContactListApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class ContactListApiTests
{
private ContactListApi instance;
@@ -37,7 +38,7 @@ public class ContactListApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new ContactListApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of ContactListApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' ContactListApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test ListsByListIdDelete
///
- [Test]
+ [TestMethod]
public void ListsByListIdDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void ListsByListIdDeleteTest()
///
/// Test ListsByListIdGet
///
- [Test]
+ [TestMethod]
public void ListsByListIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void ListsByListIdGetTest()
///
/// Test ListsByListIdPut
///
- [Test]
+ [TestMethod]
public void ListsByListIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void ListsByListIdPutTest()
///
/// Test ListsGet
///
- [Test]
+ [TestMethod]
public void ListsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void ListsGetTest()
///
/// Test ListsImportByListIdPost
///
- [Test]
+ [TestMethod]
public void ListsImportByListIdPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -123,7 +124,7 @@ public void ListsImportByListIdPostTest()
///
/// Test ListsPost
///
- [Test]
+ [TestMethod]
public void ListsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -134,7 +135,7 @@ public void ListsPostTest()
///
/// Test ListsRemoveDuplicatesByListIdPut
///
- [Test]
+ [TestMethod]
public void ListsRemoveDuplicatesByListIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/CountriesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/CountriesApiTests.cs
index 2c9a853..83ddc7e 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/CountriesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/CountriesApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class CountriesApiTests
{
private CountriesApi instance;
@@ -36,7 +37,7 @@ public class CountriesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new CountriesApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of CountriesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' CountriesApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test CountriesGet
///
- [Test]
+ [TestMethod]
public void CountriesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/DeliveryIssuesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/DeliveryIssuesApiTests.cs
index e6d4ce5..fd9d4b9 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/DeliveryIssuesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/DeliveryIssuesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class DeliveryIssuesApiTests
{
private DeliveryIssuesApi instance;
@@ -37,7 +38,7 @@ public class DeliveryIssuesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new DeliveryIssuesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of DeliveryIssuesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' DeliveryIssuesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test DeliveryIssuesGet
///
- [Test]
+ [TestMethod]
public void DeliveryIssuesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -77,7 +78,7 @@ public void DeliveryIssuesGetTest()
///
/// Test DeliveryIssuesPost
///
- [Test]
+ [TestMethod]
public void DeliveryIssuesPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/DetectAddressApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/DetectAddressApiTests.cs
index bf111ff..8bbb4f9 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/DetectAddressApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/DetectAddressApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class DetectAddressApiTests
{
private DetectAddressApi instance;
@@ -37,7 +38,7 @@ public class DetectAddressApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new DetectAddressApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of DetectAddressApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' DetectAddressApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test DetectAddressPost
///
- [Test]
+ [TestMethod]
public void DetectAddressPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/EmailDeliveryReceiptRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/EmailDeliveryReceiptRulesApiTests.cs
index 39bfeb6..a4ec4e6 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/EmailDeliveryReceiptRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/EmailDeliveryReceiptRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class EmailDeliveryReceiptRulesApiTests
{
private EmailDeliveryReceiptRulesApi instance;
@@ -37,7 +38,7 @@ public class EmailDeliveryReceiptRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new EmailDeliveryReceiptRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of EmailDeliveryReceiptRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' EmailDeliveryReceiptRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test EmailDeliveryReceiptAutomationDelete
///
- [Test]
+ [TestMethod]
public void EmailDeliveryReceiptAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void EmailDeliveryReceiptAutomationDeleteTest()
///
/// Test EmailDeliveryReceiptAutomationGet
///
- [Test]
+ [TestMethod]
public void EmailDeliveryReceiptAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void EmailDeliveryReceiptAutomationGetTest()
///
/// Test EmailDeliveryReceiptAutomationPost
///
- [Test]
+ [TestMethod]
public void EmailDeliveryReceiptAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void EmailDeliveryReceiptAutomationPostTest()
///
/// Test EmailDeliveryReceiptAutomationPut
///
- [Test]
+ [TestMethod]
public void EmailDeliveryReceiptAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void EmailDeliveryReceiptAutomationPutTest()
///
/// Test EmailDeliveryReceiptAutomationsGet
///
- [Test]
+ [TestMethod]
public void EmailDeliveryReceiptAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/EmailMarketingApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/EmailMarketingApiTests.cs
index 43284ad..3f44a51 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/EmailMarketingApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/EmailMarketingApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class EmailMarketingApiTests
{
private EmailMarketingApi instance;
@@ -37,7 +38,7 @@ public class EmailMarketingApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new EmailMarketingApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of EmailMarketingApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' EmailMarketingApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test AllowedEmailAddressGet
///
- [Test]
+ [TestMethod]
public void AllowedEmailAddressGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -77,7 +78,7 @@ public void AllowedEmailAddressGetTest()
///
/// Test AllowedEmailAddressPost
///
- [Test]
+ [TestMethod]
public void AllowedEmailAddressPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void AllowedEmailAddressPostTest()
///
/// Test CancelEmailCampaignPut
///
- [Test]
+ [TestMethod]
public void CancelEmailCampaignPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void CancelEmailCampaignPutTest()
///
/// Test EmailCampaignGet
///
- [Test]
+ [TestMethod]
public void EmailCampaignGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void EmailCampaignGetTest()
///
/// Test EmailCampaignHistoryExportGet
///
- [Test]
+ [TestMethod]
public void EmailCampaignHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -123,7 +124,7 @@ public void EmailCampaignHistoryExportGetTest()
///
/// Test EmailCampaignHistoryGet
///
- [Test]
+ [TestMethod]
public void EmailCampaignHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -138,7 +139,7 @@ public void EmailCampaignHistoryGetTest()
///
/// Test EmailCampaignPost
///
- [Test]
+ [TestMethod]
public void EmailCampaignPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -149,7 +150,7 @@ public void EmailCampaignPostTest()
///
/// Test EmailCampaignPricePost
///
- [Test]
+ [TestMethod]
public void EmailCampaignPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -160,7 +161,7 @@ public void EmailCampaignPricePostTest()
///
/// Test EmailCampaignPut
///
- [Test]
+ [TestMethod]
public void EmailCampaignPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -172,7 +173,7 @@ public void EmailCampaignPutTest()
///
/// Test EmailCampaignsGet
///
- [Test]
+ [TestMethod]
public void EmailCampaignsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -184,7 +185,7 @@ public void EmailCampaignsGetTest()
///
/// Test SendVerificationTokenGet
///
- [Test]
+ [TestMethod]
public void SendVerificationTokenGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -195,7 +196,7 @@ public void SendVerificationTokenGetTest()
///
/// Test SpecificAllowedEmailAddressDelete
///
- [Test]
+ [TestMethod]
public void SpecificAllowedEmailAddressDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -206,7 +207,7 @@ public void SpecificAllowedEmailAddressDeleteTest()
///
/// Test SpecificAllowedEmailAddressGet
///
- [Test]
+ [TestMethod]
public void SpecificAllowedEmailAddressGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -217,7 +218,7 @@ public void SpecificAllowedEmailAddressGetTest()
///
/// Test VerifyAllowedEmailAddressGet
///
- [Test]
+ [TestMethod]
public void VerifyAllowedEmailAddressGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/EmailToSmsApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/EmailToSmsApiTests.cs
index dccf887..b3244da 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/EmailToSmsApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/EmailToSmsApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class EmailToSmsApiTests
{
private EmailToSmsApi instance;
@@ -37,7 +38,7 @@ public class EmailToSmsApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new EmailToSmsApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of EmailToSmsApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' EmailToSmsApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SmsEmailSmsGet
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -77,7 +78,7 @@ public void SmsEmailSmsGetTest()
///
/// Test SmsEmailSmsPost
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void SmsEmailSmsPostTest()
///
/// Test SmsEmailSmsStrippedStringDelete
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsStrippedStringDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void SmsEmailSmsStrippedStringDeleteTest()
///
/// Test SmsEmailSmsStrippedStringGet
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsStrippedStringGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void SmsEmailSmsStrippedStringGetTest()
///
/// Test SmsEmailSmsStrippedStringPost
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsStrippedStringPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -121,7 +122,7 @@ public void SmsEmailSmsStrippedStringPostTest()
///
/// Test SmsEmailSmsStrippedStringPut
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsStrippedStringPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -133,7 +134,7 @@ public void SmsEmailSmsStrippedStringPutTest()
///
/// Test SmsEmailSmsStrippedStringsGet
///
- [Test]
+ [TestMethod]
public void SmsEmailSmsStrippedStringsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/FAXApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/FAXApiTests.cs
index ba52e55..c3572f2 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/FAXApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/FAXApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class FAXApiTests
{
private FAXApi instance;
@@ -37,7 +38,7 @@ public class FAXApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new FAXApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of FAXApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' FAXApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test FaxHistoryGet
///
- [Test]
+ [TestMethod]
public void FaxHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -81,7 +82,7 @@ public void FaxHistoryGetTest()
///
/// Test FaxPricePost
///
- [Test]
+ [TestMethod]
public void FaxPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -92,7 +93,7 @@ public void FaxPricePostTest()
///
/// Test FaxReceiptsByMessageIdGet
///
- [Test]
+ [TestMethod]
public void FaxReceiptsByMessageIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -103,7 +104,7 @@ public void FaxReceiptsByMessageIdGetTest()
///
/// Test FaxReceiptsGet
///
- [Test]
+ [TestMethod]
public void FaxReceiptsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -115,7 +116,7 @@ public void FaxReceiptsGetTest()
///
/// Test FaxReceiptsPost
///
- [Test]
+ [TestMethod]
public void FaxReceiptsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -126,7 +127,7 @@ public void FaxReceiptsPostTest()
///
/// Test FaxReceiptsReadPut
///
- [Test]
+ [TestMethod]
public void FaxReceiptsReadPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -137,7 +138,7 @@ public void FaxReceiptsReadPutTest()
///
/// Test FaxSendPost
///
- [Test]
+ [TestMethod]
public void FaxSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/FAXDeliveryReceiptRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/FAXDeliveryReceiptRulesApiTests.cs
index 9086f67..87f61a9 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/FAXDeliveryReceiptRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/FAXDeliveryReceiptRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class FAXDeliveryReceiptRulesApiTests
{
private FAXDeliveryReceiptRulesApi instance;
@@ -37,7 +38,7 @@ public class FAXDeliveryReceiptRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new FAXDeliveryReceiptRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of FAXDeliveryReceiptRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' FAXDeliveryReceiptRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test FaxDeliveryReceiptAutomationDelete
///
- [Test]
+ [TestMethod]
public void FaxDeliveryReceiptAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void FaxDeliveryReceiptAutomationDeleteTest()
///
/// Test FaxDeliveryReceiptAutomationGet
///
- [Test]
+ [TestMethod]
public void FaxDeliveryReceiptAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void FaxDeliveryReceiptAutomationGetTest()
///
/// Test FaxDeliveryReceiptAutomationPost
///
- [Test]
+ [TestMethod]
public void FaxDeliveryReceiptAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void FaxDeliveryReceiptAutomationPostTest()
///
/// Test FaxDeliveryReceiptAutomationPut
///
- [Test]
+ [TestMethod]
public void FaxDeliveryReceiptAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void FaxDeliveryReceiptAutomationPutTest()
///
/// Test FaxDeliveryReceiptAutomationsGet
///
- [Test]
+ [TestMethod]
public void FaxDeliveryReceiptAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/GlobalSendingApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/GlobalSendingApiTests.cs
index 9a06e04..dc68c3d 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/GlobalSendingApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/GlobalSendingApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class GlobalSendingApiTests
{
private GlobalSendingApi instance;
@@ -37,7 +38,7 @@ public class GlobalSendingApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new GlobalSendingApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of GlobalSendingApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' GlobalSendingApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test ListCountriesGet
///
- [Test]
+ [TestMethod]
public void ListCountriesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +76,7 @@ public void ListCountriesGetTest()
///
/// Test UserCountriesAgreePost
///
- [Test]
+ [TestMethod]
public void UserCountriesAgreePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -85,7 +86,7 @@ public void UserCountriesAgreePostTest()
///
/// Test UserCountriesGet
///
- [Test]
+ [TestMethod]
public void UserCountriesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -95,7 +96,7 @@ public void UserCountriesGetTest()
///
/// Test UserCountriesPost
///
- [Test]
+ [TestMethod]
public void UserCountriesPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/InboundFAXRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/InboundFAXRulesApiTests.cs
index 866d60f..ea1dab3 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/InboundFAXRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/InboundFAXRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class InboundFAXRulesApiTests
{
private InboundFAXRulesApi instance;
@@ -37,7 +38,7 @@ public class InboundFAXRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new InboundFAXRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of InboundFAXRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' InboundFAXRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test FaxInboundAutomationDelete
///
- [Test]
+ [TestMethod]
public void FaxInboundAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void FaxInboundAutomationDeleteTest()
///
/// Test FaxInboundAutomationGet
///
- [Test]
+ [TestMethod]
public void FaxInboundAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void FaxInboundAutomationGetTest()
///
/// Test FaxInboundAutomationPost
///
- [Test]
+ [TestMethod]
public void FaxInboundAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void FaxInboundAutomationPostTest()
///
/// Test FaxInboundAutomationPut
///
- [Test]
+ [TestMethod]
public void FaxInboundAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void FaxInboundAutomationPutTest()
///
/// Test FaxInboundAutomationsGet
///
- [Test]
+ [TestMethod]
public void FaxInboundAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/InboundSMSRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/InboundSMSRulesApiTests.cs
index e9ca1fc..fdaa44b 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/InboundSMSRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/InboundSMSRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class InboundSMSRulesApiTests
{
private InboundSMSRulesApi instance;
@@ -37,7 +38,7 @@ public class InboundSMSRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new InboundSMSRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of InboundSMSRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' InboundSMSRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SmsInboundAutomationDelete
///
- [Test]
+ [TestMethod]
public void SmsInboundAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void SmsInboundAutomationDeleteTest()
///
/// Test SmsInboundAutomationGet
///
- [Test]
+ [TestMethod]
public void SmsInboundAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void SmsInboundAutomationGetTest()
///
/// Test SmsInboundAutomationPost
///
- [Test]
+ [TestMethod]
public void SmsInboundAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void SmsInboundAutomationPostTest()
///
/// Test SmsInboundAutomationPut
///
- [Test]
+ [TestMethod]
public void SmsInboundAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void SmsInboundAutomationPutTest()
///
/// Test SmsInboundAutomationsGet
///
- [Test]
+ [TestMethod]
public void SmsInboundAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/MMSApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/MMSApiTests.cs
index 2e74b6a..e80f363 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/MMSApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/MMSApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class MMSApiTests
{
private MMSApi instance;
@@ -37,7 +38,7 @@ public class MMSApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new MMSApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of MMSApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' MMSApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test MmsHistoryExportGet
///
- [Test]
+ [TestMethod]
public void MmsHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void MmsHistoryExportGetTest()
///
/// Test MmsHistoryGet
///
- [Test]
+ [TestMethod]
public void MmsHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -91,7 +92,7 @@ public void MmsHistoryGetTest()
///
/// Test MmsPricePost
///
- [Test]
+ [TestMethod]
public void MmsPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -102,7 +103,7 @@ public void MmsPricePostTest()
///
/// Test MmsReceiptsGet
///
- [Test]
+ [TestMethod]
public void MmsReceiptsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -114,7 +115,7 @@ public void MmsReceiptsGetTest()
///
/// Test MmsReceiptsReadPut
///
- [Test]
+ [TestMethod]
public void MmsReceiptsReadPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -125,7 +126,7 @@ public void MmsReceiptsReadPutTest()
///
/// Test MmsSendPost
///
- [Test]
+ [TestMethod]
public void MmsSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/MasterEmailTemplatesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/MasterEmailTemplatesApiTests.cs
index fab0d98..90a1ece 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/MasterEmailTemplatesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/MasterEmailTemplatesApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class MasterEmailTemplatesApiTests
{
private MasterEmailTemplatesApi instance;
@@ -36,7 +37,7 @@ public class MasterEmailTemplatesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new MasterEmailTemplatesApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of MasterEmailTemplatesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' MasterEmailTemplatesApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test MasterEmailTemplateCategoriesGet
///
- [Test]
+ [TestMethod]
public void MasterEmailTemplateCategoriesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void MasterEmailTemplateCategoriesGetTest()
///
/// Test MasterEmailTemplateCategoryGet
///
- [Test]
+ [TestMethod]
public void MasterEmailTemplateCategoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void MasterEmailTemplateCategoryGetTest()
///
/// Test MasterEmailTemplateGet
///
- [Test]
+ [TestMethod]
public void MasterEmailTemplateGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void MasterEmailTemplateGetTest()
///
/// Test MasterEmailTemplatesGet
///
- [Test]
+ [TestMethod]
public void MasterEmailTemplatesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void MasterEmailTemplatesGetTest()
///
/// Test MasterEmailTemplatesInCategoryGet
///
- [Test]
+ [TestMethod]
public void MasterEmailTemplatesInCategoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/MmsCampaignApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/MmsCampaignApiTests.cs
index 78e3f4f..7fdc8e9 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/MmsCampaignApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/MmsCampaignApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class MmsCampaignApiTests
{
private MmsCampaignApi instance;
@@ -37,7 +38,7 @@ public class MmsCampaignApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new MmsCampaignApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of MmsCampaignApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' MmsCampaignApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test MmsCampaignByMmsCampaignIdGet
///
- [Test]
+ [TestMethod]
public void MmsCampaignByMmsCampaignIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void MmsCampaignByMmsCampaignIdGetTest()
///
/// Test MmsCampaignsByMmsCampaignIdPut
///
- [Test]
+ [TestMethod]
public void MmsCampaignsByMmsCampaignIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void MmsCampaignsByMmsCampaignIdPutTest()
///
/// Test MmsCampaignsCancelByMmsCampaignIdPut
///
- [Test]
+ [TestMethod]
public void MmsCampaignsCancelByMmsCampaignIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void MmsCampaignsCancelByMmsCampaignIdPutTest()
///
/// Test MmsCampaignsGet
///
- [Test]
+ [TestMethod]
public void MmsCampaignsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void MmsCampaignsGetTest()
///
/// Test MmsCampaignsPricePost
///
- [Test]
+ [TestMethod]
public void MmsCampaignsPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -122,7 +123,7 @@ public void MmsCampaignsPricePostTest()
///
/// Test MmsCampaignsSendPost
///
- [Test]
+ [TestMethod]
public void MmsCampaignsSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/NumberApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/NumberApiTests.cs
index 58e9741..4f81505 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/NumberApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/NumberApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class NumberApiTests
{
private NumberApi instance;
@@ -36,7 +37,7 @@ public class NumberApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new NumberApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of NumberApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' NumberApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test NumbersBuyByDedicatedNumberPost
///
- [Test]
+ [TestMethod]
public void NumbersBuyByDedicatedNumberPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +76,7 @@ public void NumbersBuyByDedicatedNumberPostTest()
///
/// Test NumbersGet
///
- [Test]
+ [TestMethod]
public void NumbersGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void NumbersGetTest()
///
/// Test NumbersSearchByCountryGet
///
- [Test]
+ [TestMethod]
public void NumbersSearchByCountryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/PostLetterApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/PostLetterApiTests.cs
index ab61584..f13670b 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/PostLetterApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/PostLetterApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class PostLetterApiTests
{
private PostLetterApi instance;
@@ -37,7 +38,7 @@ public class PostLetterApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new PostLetterApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of PostLetterApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' PostLetterApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test PostLettersExportGet
///
- [Test]
+ [TestMethod]
public void PostLettersExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void PostLettersExportGetTest()
///
/// Test PostLettersHistoryGet
///
- [Test]
+ [TestMethod]
public void PostLettersHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void PostLettersHistoryGetTest()
///
/// Test PostLettersPricePost
///
- [Test]
+ [TestMethod]
public void PostLettersPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void PostLettersPricePostTest()
///
/// Test PostLettersSendPost
///
- [Test]
+ [TestMethod]
public void PostLettersSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/PostPostcardApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/PostPostcardApiTests.cs
index 67639ec..9e22d54 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/PostPostcardApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/PostPostcardApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class PostPostcardApiTests
{
private PostPostcardApi instance;
@@ -37,7 +38,7 @@ public class PostPostcardApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new PostPostcardApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of PostPostcardApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' PostPostcardApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test PostPostcardsHistoryExportGet
///
- [Test]
+ [TestMethod]
public void PostPostcardsHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void PostPostcardsHistoryExportGetTest()
///
/// Test PostPostcardsHistoryGet
///
- [Test]
+ [TestMethod]
public void PostPostcardsHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void PostPostcardsHistoryGetTest()
///
/// Test PostPostcardsPricePost
///
- [Test]
+ [TestMethod]
public void PostPostcardsPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void PostPostcardsPricePostTest()
///
/// Test PostPostcardsSendPost
///
- [Test]
+ [TestMethod]
public void PostPostcardsSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/PostReturnAddressApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/PostReturnAddressApiTests.cs
index d8e2092..67f3bff 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/PostReturnAddressApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/PostReturnAddressApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class PostReturnAddressApiTests
{
private PostReturnAddressApi instance;
@@ -37,7 +38,7 @@ public class PostReturnAddressApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new PostReturnAddressApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of PostReturnAddressApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' PostReturnAddressApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test PostReturnAddressesByReturnAddressIdDelete
///
- [Test]
+ [TestMethod]
public void PostReturnAddressesByReturnAddressIdDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void PostReturnAddressesByReturnAddressIdDeleteTest()
///
/// Test PostReturnAddressesByReturnAddressIdGet
///
- [Test]
+ [TestMethod]
public void PostReturnAddressesByReturnAddressIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void PostReturnAddressesByReturnAddressIdGetTest()
///
/// Test PostReturnAddressesByReturnAddressIdPut
///
- [Test]
+ [TestMethod]
public void PostReturnAddressesByReturnAddressIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void PostReturnAddressesByReturnAddressIdPutTest()
///
/// Test PostReturnAddressesGet
///
- [Test]
+ [TestMethod]
public void PostReturnAddressesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void PostReturnAddressesGetTest()
///
/// Test PostReturnAddressesPost
///
- [Test]
+ [TestMethod]
public void PostReturnAddressesPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/ReferralAccountApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/ReferralAccountApiTests.cs
index 2be712a..c2e027f 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/ReferralAccountApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/ReferralAccountApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class ReferralAccountApiTests
{
private ReferralAccountApi instance;
@@ -36,7 +37,7 @@ public class ReferralAccountApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new ReferralAccountApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of ReferralAccountApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' ReferralAccountApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test ReferralAccountsGet
///
- [Test]
+ [TestMethod]
public void ReferralAccountsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/ResellerAccountApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/ResellerAccountApiTests.cs
index 794367f..8297b37 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/ResellerAccountApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/ResellerAccountApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class ResellerAccountApiTests
{
private ResellerAccountApi instance;
@@ -37,7 +38,7 @@ public class ResellerAccountApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new ResellerAccountApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of ResellerAccountApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' ResellerAccountApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test ResellerAccountsByClientUserIdGet
///
- [Test]
+ [TestMethod]
public void ResellerAccountsByClientUserIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void ResellerAccountsByClientUserIdGetTest()
///
/// Test ResellerAccountsByClientUserIdPut
///
- [Test]
+ [TestMethod]
public void ResellerAccountsByClientUserIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void ResellerAccountsByClientUserIdPutTest()
///
/// Test ResellerAccountsGet
///
- [Test]
+ [TestMethod]
public void ResellerAccountsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -100,7 +101,7 @@ public void ResellerAccountsGetTest()
///
/// Test ResellerAccountsPost
///
- [Test]
+ [TestMethod]
public void ResellerAccountsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/SMSApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/SMSApiTests.cs
index 7fa3841..69c9fb9 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/SMSApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/SMSApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class SMSApiTests
{
private SMSApi instance;
@@ -37,7 +38,7 @@ public class SMSApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new SMSApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of SMSApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' SMSApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SmsCancelAllPut
///
- [Test]
+ [TestMethod]
public void SmsCancelAllPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +76,7 @@ public void SmsCancelAllPutTest()
///
/// Test SmsCancelByMessageIdPut
///
- [Test]
+ [TestMethod]
public void SmsCancelByMessageIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -86,7 +87,7 @@ public void SmsCancelByMessageIdPutTest()
///
/// Test SmsHistoryExportGet
///
- [Test]
+ [TestMethod]
public void SmsHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -97,7 +98,7 @@ public void SmsHistoryExportGetTest()
///
/// Test SmsHistoryGet
///
- [Test]
+ [TestMethod]
public void SmsHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -112,7 +113,7 @@ public void SmsHistoryGetTest()
///
/// Test SmsInboundGet
///
- [Test]
+ [TestMethod]
public void SmsInboundGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -125,7 +126,7 @@ public void SmsInboundGetTest()
///
/// Test SmsInboundPost
///
- [Test]
+ [TestMethod]
public void SmsInboundPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -136,7 +137,7 @@ public void SmsInboundPostTest()
///
/// Test SmsInboundReadByMessageIdPut
///
- [Test]
+ [TestMethod]
public void SmsInboundReadByMessageIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -147,7 +148,7 @@ public void SmsInboundReadByMessageIdPutTest()
///
/// Test SmsInboundReadPut
///
- [Test]
+ [TestMethod]
public void SmsInboundReadPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -158,7 +159,7 @@ public void SmsInboundReadPutTest()
///
/// Test SmsPricePost
///
- [Test]
+ [TestMethod]
public void SmsPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -169,7 +170,7 @@ public void SmsPricePostTest()
///
/// Test SmsReceiptsByMessageIdGet
///
- [Test]
+ [TestMethod]
public void SmsReceiptsByMessageIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -180,7 +181,7 @@ public void SmsReceiptsByMessageIdGetTest()
///
/// Test SmsReceiptsGet
///
- [Test]
+ [TestMethod]
public void SmsReceiptsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -192,7 +193,7 @@ public void SmsReceiptsGetTest()
///
/// Test SmsReceiptsPost
///
- [Test]
+ [TestMethod]
public void SmsReceiptsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -203,7 +204,7 @@ public void SmsReceiptsPostTest()
///
/// Test SmsReceiptsReadPut
///
- [Test]
+ [TestMethod]
public void SmsReceiptsReadPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -214,7 +215,7 @@ public void SmsReceiptsReadPutTest()
///
/// Test SmsSendPost
///
- [Test]
+ [TestMethod]
public void SmsSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -225,7 +226,7 @@ public void SmsSendPostTest()
///
/// Test SmsTemplatesByTemplateIdDelete
///
- [Test]
+ [TestMethod]
public void SmsTemplatesByTemplateIdDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -236,7 +237,7 @@ public void SmsTemplatesByTemplateIdDeleteTest()
///
/// Test SmsTemplatesByTemplateIdPut
///
- [Test]
+ [TestMethod]
public void SmsTemplatesByTemplateIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -248,7 +249,7 @@ public void SmsTemplatesByTemplateIdPutTest()
///
/// Test SmsTemplatesGet
///
- [Test]
+ [TestMethod]
public void SmsTemplatesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -260,7 +261,7 @@ public void SmsTemplatesGetTest()
///
/// Test SmsTemplatesPost
///
- [Test]
+ [TestMethod]
public void SmsTemplatesPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/SMSDeliveryReceiptRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/SMSDeliveryReceiptRulesApiTests.cs
index 439787c..b32b907 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/SMSDeliveryReceiptRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/SMSDeliveryReceiptRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class SMSDeliveryReceiptRulesApiTests
{
private SMSDeliveryReceiptRulesApi instance;
@@ -37,7 +38,7 @@ public class SMSDeliveryReceiptRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new SMSDeliveryReceiptRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of SMSDeliveryReceiptRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' SMSDeliveryReceiptRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SmsDeliveryReceiptAutomationDelete
///
- [Test]
+ [TestMethod]
public void SmsDeliveryReceiptAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void SmsDeliveryReceiptAutomationDeleteTest()
///
/// Test SmsDeliveryReceiptAutomationGet
///
- [Test]
+ [TestMethod]
public void SmsDeliveryReceiptAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void SmsDeliveryReceiptAutomationGetTest()
///
/// Test SmsDeliveryReceiptAutomationPost
///
- [Test]
+ [TestMethod]
public void SmsDeliveryReceiptAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void SmsDeliveryReceiptAutomationPostTest()
///
/// Test SmsDeliveryReceiptAutomationPut
///
- [Test]
+ [TestMethod]
public void SmsDeliveryReceiptAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void SmsDeliveryReceiptAutomationPutTest()
///
/// Test SmsDeliveryReceiptAutomationsGet
///
- [Test]
+ [TestMethod]
public void SmsDeliveryReceiptAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/SearchApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/SearchApiTests.cs
index 8013ef6..740cea5 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/SearchApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/SearchApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class SearchApiTests
{
private SearchApi instance;
@@ -36,7 +37,7 @@ public class SearchApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new SearchApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of SearchApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' SearchApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test SearchContactsListsGet
///
- [Test]
+ [TestMethod]
public void SearchContactsListsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/SmsCampaignApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/SmsCampaignApiTests.cs
index 81cdbf2..53be889 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/SmsCampaignApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/SmsCampaignApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class SmsCampaignApiTests
{
private SmsCampaignApi instance;
@@ -37,7 +38,7 @@ public class SmsCampaignApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new SmsCampaignApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of SmsCampaignApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' SmsCampaignApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SmsCampaignBySmsCampaignIdGet
///
- [Test]
+ [TestMethod]
public void SmsCampaignBySmsCampaignIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void SmsCampaignBySmsCampaignIdGetTest()
///
/// Test SmsCampaignsBySmsCampaignIdPut
///
- [Test]
+ [TestMethod]
public void SmsCampaignsBySmsCampaignIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -88,7 +89,7 @@ public void SmsCampaignsBySmsCampaignIdPutTest()
///
/// Test SmsCampaignsCancelBySmsCampaignIdPut
///
- [Test]
+ [TestMethod]
public void SmsCampaignsCancelBySmsCampaignIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void SmsCampaignsCancelBySmsCampaignIdPutTest()
///
/// Test SmsCampaignsGet
///
- [Test]
+ [TestMethod]
public void SmsCampaignsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void SmsCampaignsGetTest()
///
/// Test SmsCampaignsPricePost
///
- [Test]
+ [TestMethod]
public void SmsCampaignsPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -122,7 +123,7 @@ public void SmsCampaignsPricePostTest()
///
/// Test SmsCampaignsSendPost
///
- [Test]
+ [TestMethod]
public void SmsCampaignsSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/StatisticsApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/StatisticsApiTests.cs
index e66bdfc..8d37252 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/StatisticsApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/StatisticsApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class StatisticsApiTests
{
private StatisticsApi instance;
@@ -36,7 +37,7 @@ public class StatisticsApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new StatisticsApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of StatisticsApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' StatisticsApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test StatisticsSmsGet
///
- [Test]
+ [TestMethod]
public void StatisticsSmsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -74,7 +75,7 @@ public void StatisticsSmsGetTest()
///
/// Test StatisticsVoiceGet
///
- [Test]
+ [TestMethod]
public void StatisticsVoiceGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/SubaccountApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/SubaccountApiTests.cs
index ecfd338..cd6a719 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/SubaccountApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/SubaccountApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class SubaccountApiTests
{
private SubaccountApi instance;
@@ -37,7 +38,7 @@ public class SubaccountApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new SubaccountApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of SubaccountApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' SubaccountApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test SubaccountsBySubaccountIdDelete
///
- [Test]
+ [TestMethod]
public void SubaccountsBySubaccountIdDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void SubaccountsBySubaccountIdDeleteTest()
///
/// Test SubaccountsBySubaccountIdGet
///
- [Test]
+ [TestMethod]
public void SubaccountsBySubaccountIdGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void SubaccountsBySubaccountIdGetTest()
///
/// Test SubaccountsBySubaccountIdPut
///
- [Test]
+ [TestMethod]
public void SubaccountsBySubaccountIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -99,7 +100,7 @@ public void SubaccountsBySubaccountIdPutTest()
///
/// Test SubaccountsGet
///
- [Test]
+ [TestMethod]
public void SubaccountsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void SubaccountsGetTest()
///
/// Test SubaccountsPost
///
- [Test]
+ [TestMethod]
public void SubaccountsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -122,7 +123,7 @@ public void SubaccountsPostTest()
///
/// Test SubaccountsRegenApiKeyBySubaccountIdPut
///
- [Test]
+ [TestMethod]
public void SubaccountsRegenApiKeyBySubaccountIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/TimezonesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/TimezonesApiTests.cs
index 6de0ce1..76a8229 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/TimezonesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/TimezonesApiTests.cs
@@ -14,10 +14,11 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -28,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class TimezonesApiTests
{
private TimezonesApi instance;
@@ -36,7 +37,7 @@ public class TimezonesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new TimezonesApi();
@@ -45,7 +46,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -54,7 +55,7 @@ public void Cleanup()
///
/// Test an instance of TimezonesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' TimezonesApi
@@ -64,7 +65,7 @@ public void InstanceTest()
///
/// Test TimezonesGet
///
- [Test]
+ [TestMethod]
public void TimezonesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/TransactionalEmailApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/TransactionalEmailApiTests.cs
index 4f0fd53..fc68598 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/TransactionalEmailApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/TransactionalEmailApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class TransactionalEmailApiTests
{
private TransactionalEmailApi instance;
@@ -37,7 +38,7 @@ public class TransactionalEmailApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new TransactionalEmailApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of TransactionalEmailApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' TransactionalEmailApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test EmailHistoryExportGet
///
- [Test]
+ [TestMethod]
public void EmailHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -78,7 +79,7 @@ public void EmailHistoryExportGetTest()
///
/// Test EmailHistoryGet
///
- [Test]
+ [TestMethod]
public void EmailHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -92,7 +93,7 @@ public void EmailHistoryGetTest()
///
/// Test EmailPricePost
///
- [Test]
+ [TestMethod]
public void EmailPricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -103,7 +104,7 @@ public void EmailPricePostTest()
///
/// Test EmailSendPost
///
- [Test]
+ [TestMethod]
public void EmailSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/TransferCreditApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/TransferCreditApiTests.cs
index fe2d139..d172eae 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/TransferCreditApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/TransferCreditApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class TransferCreditApiTests
{
private TransferCreditApi instance;
@@ -37,7 +38,7 @@ public class TransferCreditApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new TransferCreditApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of TransferCreditApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' TransferCreditApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test ResellerTransferCreditPut
///
- [Test]
+ [TestMethod]
public void ResellerTransferCreditPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/UploadApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/UploadApiTests.cs
index b473523..2f2aef2 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/UploadApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/UploadApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class UploadApiTests
{
private UploadApi instance;
@@ -37,7 +38,7 @@ public class UploadApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new UploadApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of UploadApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' UploadApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test UploadsPost
///
- [Test]
+ [TestMethod]
public void UploadsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/UserEmailTemplatesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/UserEmailTemplatesApiTests.cs
index 82e95cf..948b347 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/UserEmailTemplatesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/UserEmailTemplatesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class UserEmailTemplatesApiTests
{
private UserEmailTemplatesApi instance;
@@ -37,7 +38,7 @@ public class UserEmailTemplatesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new UserEmailTemplatesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of UserEmailTemplatesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' UserEmailTemplatesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test EmailTemplateDelete
///
- [Test]
+ [TestMethod]
public void EmailTemplateDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void EmailTemplateDeleteTest()
///
/// Test EmailTemplateGet
///
- [Test]
+ [TestMethod]
public void EmailTemplateGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void EmailTemplateGetTest()
///
/// Test EmailTemplatePost
///
- [Test]
+ [TestMethod]
public void EmailTemplatePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void EmailTemplatePostTest()
///
/// Test EmailTemplatePut
///
- [Test]
+ [TestMethod]
public void EmailTemplatePutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void EmailTemplatePutTest()
///
/// Test EmailTemplatesGet
///
- [Test]
+ [TestMethod]
public void EmailTemplatesGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/VoiceApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/VoiceApiTests.cs
index a13b449..56c66a3 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/VoiceApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/VoiceApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class VoiceApiTests
{
private VoiceApi instance;
@@ -37,7 +38,7 @@ public class VoiceApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new VoiceApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of VoiceApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' VoiceApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test VoiceCancelAllPut
///
- [Test]
+ [TestMethod]
public void VoiceCancelAllPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -75,7 +76,7 @@ public void VoiceCancelAllPutTest()
///
/// Test VoiceCancelByMessageIdPut
///
- [Test]
+ [TestMethod]
public void VoiceCancelByMessageIdPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -86,7 +87,7 @@ public void VoiceCancelByMessageIdPutTest()
///
/// Test VoiceHistoryExportGet
///
- [Test]
+ [TestMethod]
public void VoiceHistoryExportGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -97,7 +98,7 @@ public void VoiceHistoryExportGetTest()
///
/// Test VoiceHistoryGet
///
- [Test]
+ [TestMethod]
public void VoiceHistoryGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -111,7 +112,7 @@ public void VoiceHistoryGetTest()
///
/// Test VoiceLangGet
///
- [Test]
+ [TestMethod]
public void VoiceLangGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -121,7 +122,7 @@ public void VoiceLangGetTest()
///
/// Test VoicePricePost
///
- [Test]
+ [TestMethod]
public void VoicePricePostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -132,7 +133,7 @@ public void VoicePricePostTest()
///
/// Test VoiceReceiptsGet
///
- [Test]
+ [TestMethod]
public void VoiceReceiptsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -144,7 +145,7 @@ public void VoiceReceiptsGetTest()
///
/// Test VoiceReceiptsPost
///
- [Test]
+ [TestMethod]
public void VoiceReceiptsPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -155,7 +156,7 @@ public void VoiceReceiptsPostTest()
///
/// Test VoiceReceiptsReadPut
///
- [Test]
+ [TestMethod]
public void VoiceReceiptsReadPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -166,7 +167,7 @@ public void VoiceReceiptsReadPutTest()
///
/// Test VoiceSendPost
///
- [Test]
+ [TestMethod]
public void VoiceSendPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Api/VoiceDeliveryReceiptRulesApiTests.cs b/src/IO.ClickSend.Test/ClickSend.Api/VoiceDeliveryReceiptRulesApiTests.cs
index 3ba20b9..3676267 100644
--- a/src/IO.ClickSend.Test/ClickSend.Api/VoiceDeliveryReceiptRulesApiTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Api/VoiceDeliveryReceiptRulesApiTests.cs
@@ -14,11 +14,12 @@
using System.Linq;
using System.Reflection;
using RestSharp;
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.ClickSend.Model;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the API endpoint.
///
- [TestFixture]
+ [TestClass]
public class VoiceDeliveryReceiptRulesApiTests
{
private VoiceDeliveryReceiptRulesApi instance;
@@ -37,7 +38,7 @@ public class VoiceDeliveryReceiptRulesApiTests
///
/// Setup before each unit test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
instance = new VoiceDeliveryReceiptRulesApi();
@@ -46,7 +47,7 @@ public void Init()
///
/// Clean up after each unit test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -55,7 +56,7 @@ public void Cleanup()
///
/// Test an instance of VoiceDeliveryReceiptRulesApi
///
- [Test]
+ [TestMethod]
public void InstanceTest()
{
// TODO uncomment below to test 'IsInstanceOfType' VoiceDeliveryReceiptRulesApi
@@ -65,7 +66,7 @@ public void InstanceTest()
///
/// Test VoiceDeliveryReceiptAutomationDelete
///
- [Test]
+ [TestMethod]
public void VoiceDeliveryReceiptAutomationDeleteTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -76,7 +77,7 @@ public void VoiceDeliveryReceiptAutomationDeleteTest()
///
/// Test VoiceDeliveryReceiptAutomationGet
///
- [Test]
+ [TestMethod]
public void VoiceDeliveryReceiptAutomationGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -87,7 +88,7 @@ public void VoiceDeliveryReceiptAutomationGetTest()
///
/// Test VoiceDeliveryReceiptAutomationPost
///
- [Test]
+ [TestMethod]
public void VoiceDeliveryReceiptAutomationPostTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -98,7 +99,7 @@ public void VoiceDeliveryReceiptAutomationPostTest()
///
/// Test VoiceDeliveryReceiptAutomationPut
///
- [Test]
+ [TestMethod]
public void VoiceDeliveryReceiptAutomationPutTest()
{
// TODO uncomment below to test the method and replace null with proper value
@@ -110,7 +111,7 @@ public void VoiceDeliveryReceiptAutomationPutTest()
///
/// Test VoiceDeliveryReceiptAutomationsGet
///
- [Test]
+ [TestMethod]
public void VoiceDeliveryReceiptAutomationsGetTest()
{
// TODO uncomment below to test the method and replace null with proper value
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/AccountForgotPasswordVerifyTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/AccountForgotPasswordVerifyTests.cs
index 2d365f8..9af14c6 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/AccountForgotPasswordVerifyTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/AccountForgotPasswordVerifyTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class AccountForgotPasswordVerifyTests
{
// TODO uncomment below to declare an instance variable for AccountForgotPasswordVerify
@@ -38,7 +39,7 @@ public class AccountForgotPasswordVerifyTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of AccountForgotPasswordVerify
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of AccountForgotPasswordVerify
///
- [Test]
+ [TestMethod]
public void AccountForgotPasswordVerifyInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" AccountForgotPasswordVerify
@@ -68,7 +69,7 @@ public void AccountForgotPasswordVerifyInstanceTest()
///
/// Test the property 'SubaccountId'
///
- [Test]
+ [TestMethod]
public void SubaccountIdTest()
{
// TODO unit test for the property 'SubaccountId'
@@ -76,7 +77,7 @@ public void SubaccountIdTest()
///
/// Test the property 'ActivationToken'
///
- [Test]
+ [TestMethod]
public void ActivationTokenTest()
{
// TODO unit test for the property 'ActivationToken'
@@ -84,7 +85,7 @@ public void ActivationTokenTest()
///
/// Test the property 'Password'
///
- [Test]
+ [TestMethod]
public void PasswordTest()
{
// TODO unit test for the property 'Password'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/AccountTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/AccountTests.cs
index 5a2791b..f2decb1 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/AccountTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/AccountTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class AccountTests
{
// TODO uncomment below to declare an instance variable for Account
@@ -38,7 +39,7 @@ public class AccountTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Account
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of Account
///
- [Test]
+ [TestMethod]
public void AccountInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Account
@@ -68,7 +69,7 @@ public void AccountInstanceTest()
///
/// Test the property 'Username'
///
- [Test]
+ [TestMethod]
public void UsernameTest()
{
// TODO unit test for the property 'Username'
@@ -76,7 +77,7 @@ public void UsernameTest()
///
/// Test the property 'Password'
///
- [Test]
+ [TestMethod]
public void PasswordTest()
{
// TODO unit test for the property 'Password'
@@ -84,7 +85,7 @@ public void PasswordTest()
///
/// Test the property 'UserPhone'
///
- [Test]
+ [TestMethod]
public void UserPhoneTest()
{
// TODO unit test for the property 'UserPhone'
@@ -92,7 +93,7 @@ public void UserPhoneTest()
///
/// Test the property 'UserEmail'
///
- [Test]
+ [TestMethod]
public void UserEmailTest()
{
// TODO unit test for the property 'UserEmail'
@@ -100,7 +101,7 @@ public void UserEmailTest()
///
/// Test the property 'UserFirstName'
///
- [Test]
+ [TestMethod]
public void UserFirstNameTest()
{
// TODO unit test for the property 'UserFirstName'
@@ -108,7 +109,7 @@ public void UserFirstNameTest()
///
/// Test the property 'UserLastName'
///
- [Test]
+ [TestMethod]
public void UserLastNameTest()
{
// TODO unit test for the property 'UserLastName'
@@ -116,7 +117,7 @@ public void UserLastNameTest()
///
/// Test the property 'AccountName'
///
- [Test]
+ [TestMethod]
public void AccountNameTest()
{
// TODO unit test for the property 'AccountName'
@@ -124,7 +125,7 @@ public void AccountNameTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/AccountVerifyTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/AccountVerifyTests.cs
index 1a8c606..19835ff 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/AccountVerifyTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/AccountVerifyTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class AccountVerifyTests
{
// TODO uncomment below to declare an instance variable for AccountVerify
@@ -38,7 +39,7 @@ public class AccountVerifyTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of AccountVerify
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of AccountVerify
///
- [Test]
+ [TestMethod]
public void AccountVerifyInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" AccountVerify
@@ -68,7 +69,7 @@ public void AccountVerifyInstanceTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
@@ -76,7 +77,7 @@ public void CountryTest()
///
/// Test the property 'UserPhone'
///
- [Test]
+ [TestMethod]
public void UserPhoneTest()
{
// TODO unit test for the property 'UserPhone'
@@ -84,7 +85,7 @@ public void UserPhoneTest()
///
/// Test the property 'Type'
///
- [Test]
+ [TestMethod]
public void TypeTest()
{
// TODO unit test for the property 'Type'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/AddressTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/AddressTests.cs
index 74a99ec..1646e43 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/AddressTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/AddressTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class AddressTests
{
// TODO uncomment below to declare an instance variable for Address
@@ -38,7 +39,7 @@ public class AddressTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Address
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of Address
///
- [Test]
+ [TestMethod]
public void AddressInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Address
@@ -68,7 +69,7 @@ public void AddressInstanceTest()
///
/// Test the property 'AddressName'
///
- [Test]
+ [TestMethod]
public void AddressNameTest()
{
// TODO unit test for the property 'AddressName'
@@ -76,7 +77,7 @@ public void AddressNameTest()
///
/// Test the property 'AddressLine1'
///
- [Test]
+ [TestMethod]
public void AddressLine1Test()
{
// TODO unit test for the property 'AddressLine1'
@@ -84,7 +85,7 @@ public void AddressLine1Test()
///
/// Test the property 'AddressCity'
///
- [Test]
+ [TestMethod]
public void AddressCityTest()
{
// TODO unit test for the property 'AddressCity'
@@ -92,7 +93,7 @@ public void AddressCityTest()
///
/// Test the property 'AddressPostalCode'
///
- [Test]
+ [TestMethod]
public void AddressPostalCodeTest()
{
// TODO unit test for the property 'AddressPostalCode'
@@ -100,7 +101,7 @@ public void AddressPostalCodeTest()
///
/// Test the property 'AddressCountry'
///
- [Test]
+ [TestMethod]
public void AddressCountryTest()
{
// TODO unit test for the property 'AddressCountry'
@@ -108,7 +109,7 @@ public void AddressCountryTest()
///
/// Test the property 'AddressLine2'
///
- [Test]
+ [TestMethod]
public void AddressLine2Test()
{
// TODO unit test for the property 'AddressLine2'
@@ -116,7 +117,7 @@ public void AddressLine2Test()
///
/// Test the property 'AddressState'
///
- [Test]
+ [TestMethod]
public void AddressStateTest()
{
// TODO unit test for the property 'AddressState'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/AttachmentTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/AttachmentTests.cs
index e79295d..69dd693 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/AttachmentTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/AttachmentTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class AttachmentTests
{
// TODO uncomment below to declare an instance variable for Attachment
@@ -38,7 +39,7 @@ public class AttachmentTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Attachment
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of Attachment
///
- [Test]
+ [TestMethod]
public void AttachmentInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Attachment
@@ -68,7 +69,7 @@ public void AttachmentInstanceTest()
///
/// Test the property 'Content'
///
- [Test]
+ [TestMethod]
public void ContentTest()
{
// TODO unit test for the property 'Content'
@@ -76,7 +77,7 @@ public void ContentTest()
///
/// Test the property 'Type'
///
- [Test]
+ [TestMethod]
public void TypeTest()
{
// TODO unit test for the property 'Type'
@@ -84,7 +85,7 @@ public void TypeTest()
///
/// Test the property 'Filename'
///
- [Test]
+ [TestMethod]
public void FilenameTest()
{
// TODO unit test for the property 'Filename'
@@ -92,7 +93,7 @@ public void FilenameTest()
///
/// Test the property 'Disposition'
///
- [Test]
+ [TestMethod]
public void DispositionTest()
{
// TODO unit test for the property 'Disposition'
@@ -100,7 +101,7 @@ public void DispositionTest()
///
/// Test the property 'ContentId'
///
- [Test]
+ [TestMethod]
public void ContentIdTest()
{
// TODO unit test for the property 'ContentId'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ContactListImportTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ContactListImportTests.cs
index c220d46..f1273d5 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ContactListImportTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ContactListImportTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ContactListImportTests
{
// TODO uncomment below to declare an instance variable for ContactListImport
@@ -38,7 +39,7 @@ public class ContactListImportTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ContactListImport
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of ContactListImport
///
- [Test]
+ [TestMethod]
public void ContactListImportInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ContactListImport
@@ -68,7 +69,7 @@ public void ContactListImportInstanceTest()
///
/// Test the property 'FileUrl'
///
- [Test]
+ [TestMethod]
public void FileUrlTest()
{
// TODO unit test for the property 'FileUrl'
@@ -76,7 +77,7 @@ public void FileUrlTest()
///
/// Test the property 'FieldOrder'
///
- [Test]
+ [TestMethod]
public void FieldOrderTest()
{
// TODO unit test for the property 'FieldOrder'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ContactListTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ContactListTests.cs
index 28e4824..41826d8 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ContactListTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ContactListTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ContactListTests
{
// TODO uncomment below to declare an instance variable for ContactList
@@ -38,7 +39,7 @@ public class ContactListTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ContactList
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of ContactList
///
- [Test]
+ [TestMethod]
public void ContactListInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ContactList
@@ -68,7 +69,7 @@ public void ContactListInstanceTest()
///
/// Test the property 'ListName'
///
- [Test]
+ [TestMethod]
public void ListNameTest()
{
// TODO unit test for the property 'ListName'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ContactTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ContactTests.cs
index d10edbb..03fd567 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ContactTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ContactTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ContactTests
{
// TODO uncomment below to declare an instance variable for Contact
@@ -38,7 +39,7 @@ public class ContactTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Contact
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of Contact
///
- [Test]
+ [TestMethod]
public void ContactInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Contact
@@ -68,7 +69,7 @@ public void ContactInstanceTest()
///
/// Test the property 'PhoneNumber'
///
- [Test]
+ [TestMethod]
public void PhoneNumberTest()
{
// TODO unit test for the property 'PhoneNumber'
@@ -76,7 +77,7 @@ public void PhoneNumberTest()
///
/// Test the property 'Custom1'
///
- [Test]
+ [TestMethod]
public void Custom1Test()
{
// TODO unit test for the property 'Custom1'
@@ -84,7 +85,7 @@ public void Custom1Test()
///
/// Test the property 'Email'
///
- [Test]
+ [TestMethod]
public void EmailTest()
{
// TODO unit test for the property 'Email'
@@ -92,7 +93,7 @@ public void EmailTest()
///
/// Test the property 'FaxNumber'
///
- [Test]
+ [TestMethod]
public void FaxNumberTest()
{
// TODO unit test for the property 'FaxNumber'
@@ -100,7 +101,7 @@ public void FaxNumberTest()
///
/// Test the property 'FirstName'
///
- [Test]
+ [TestMethod]
public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
@@ -108,7 +109,7 @@ public void FirstNameTest()
///
/// Test the property 'AddressLine1'
///
- [Test]
+ [TestMethod]
public void AddressLine1Test()
{
// TODO unit test for the property 'AddressLine1'
@@ -116,7 +117,7 @@ public void AddressLine1Test()
///
/// Test the property 'AddressLine2'
///
- [Test]
+ [TestMethod]
public void AddressLine2Test()
{
// TODO unit test for the property 'AddressLine2'
@@ -124,7 +125,7 @@ public void AddressLine2Test()
///
/// Test the property 'AddressCity'
///
- [Test]
+ [TestMethod]
public void AddressCityTest()
{
// TODO unit test for the property 'AddressCity'
@@ -132,7 +133,7 @@ public void AddressCityTest()
///
/// Test the property 'AddressState'
///
- [Test]
+ [TestMethod]
public void AddressStateTest()
{
// TODO unit test for the property 'AddressState'
@@ -140,7 +141,7 @@ public void AddressStateTest()
///
/// Test the property 'AddressPostalCode'
///
- [Test]
+ [TestMethod]
public void AddressPostalCodeTest()
{
// TODO unit test for the property 'AddressPostalCode'
@@ -148,7 +149,7 @@ public void AddressPostalCodeTest()
///
/// Test the property 'AddressCountry'
///
- [Test]
+ [TestMethod]
public void AddressCountryTest()
{
// TODO unit test for the property 'AddressCountry'
@@ -156,7 +157,7 @@ public void AddressCountryTest()
///
/// Test the property 'OrganizationName'
///
- [Test]
+ [TestMethod]
public void OrganizationNameTest()
{
// TODO unit test for the property 'OrganizationName'
@@ -164,7 +165,7 @@ public void OrganizationNameTest()
///
/// Test the property 'Custom2'
///
- [Test]
+ [TestMethod]
public void Custom2Test()
{
// TODO unit test for the property 'Custom2'
@@ -172,7 +173,7 @@ public void Custom2Test()
///
/// Test the property 'Custom3'
///
- [Test]
+ [TestMethod]
public void Custom3Test()
{
// TODO unit test for the property 'Custom3'
@@ -180,7 +181,7 @@ public void Custom3Test()
///
/// Test the property 'Custom4'
///
- [Test]
+ [TestMethod]
public void Custom4Test()
{
// TODO unit test for the property 'Custom4'
@@ -188,7 +189,7 @@ public void Custom4Test()
///
/// Test the property 'LastName'
///
- [Test]
+ [TestMethod]
public void LastNameTest()
{
// TODO unit test for the property 'LastName'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/CountryListIdsTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/CountryListIdsTests.cs
index 2ca837a..041833b 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/CountryListIdsTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/CountryListIdsTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class CountryListIdsTests
{
// TODO uncomment below to declare an instance variable for CountryListIds
@@ -38,7 +39,7 @@ public class CountryListIdsTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of CountryListIds
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of CountryListIds
///
- [Test]
+ [TestMethod]
public void CountryListIdsInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" CountryListIds
@@ -68,7 +69,7 @@ public void CountryListIdsInstanceTest()
///
/// Test the property '_CountryListIds'
///
- [Test]
+ [TestMethod]
public void _CountryListIdsTest()
{
// TODO unit test for the property '_CountryListIds'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/CreditCardTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/CreditCardTests.cs
index 7310dfb..3fbee85 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/CreditCardTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/CreditCardTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class CreditCardTests
{
// TODO uncomment below to declare an instance variable for CreditCard
@@ -38,7 +39,7 @@ public class CreditCardTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of CreditCard
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of CreditCard
///
- [Test]
+ [TestMethod]
public void CreditCardInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" CreditCard
@@ -68,7 +69,7 @@ public void CreditCardInstanceTest()
///
/// Test the property 'Number'
///
- [Test]
+ [TestMethod]
public void NumberTest()
{
// TODO unit test for the property 'Number'
@@ -76,7 +77,7 @@ public void NumberTest()
///
/// Test the property 'ExpiryMonth'
///
- [Test]
+ [TestMethod]
public void ExpiryMonthTest()
{
// TODO unit test for the property 'ExpiryMonth'
@@ -84,7 +85,7 @@ public void ExpiryMonthTest()
///
/// Test the property 'ExpiryYear'
///
- [Test]
+ [TestMethod]
public void ExpiryYearTest()
{
// TODO unit test for the property 'ExpiryYear'
@@ -92,7 +93,7 @@ public void ExpiryYearTest()
///
/// Test the property 'Cvc'
///
- [Test]
+ [TestMethod]
public void CvcTest()
{
// TODO unit test for the property 'Cvc'
@@ -100,7 +101,7 @@ public void CvcTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
@@ -108,7 +109,7 @@ public void NameTest()
///
/// Test the property 'BankName'
///
- [Test]
+ [TestMethod]
public void BankNameTest()
{
// TODO unit test for the property 'BankName'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/DateBeforeTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/DateBeforeTests.cs
index 627d4b1..a851965 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/DateBeforeTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/DateBeforeTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class DateBeforeTests
{
// TODO uncomment below to declare an instance variable for DateBefore
@@ -38,7 +39,7 @@ public class DateBeforeTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of DateBefore
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of DateBefore
///
- [Test]
+ [TestMethod]
public void DateBeforeInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" DateBefore
@@ -68,7 +69,7 @@ public void DateBeforeInstanceTest()
///
/// Test the property '_DateBefore'
///
- [Test]
+ [TestMethod]
public void _DateBeforeTest()
{
// TODO unit test for the property '_DateBefore'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/DeliveryIssueTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/DeliveryIssueTests.cs
index 020c3e8..f925efb 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/DeliveryIssueTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/DeliveryIssueTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class DeliveryIssueTests
{
// TODO uncomment below to declare an instance variable for DeliveryIssue
@@ -38,7 +39,7 @@ public class DeliveryIssueTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of DeliveryIssue
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of DeliveryIssue
///
- [Test]
+ [TestMethod]
public void DeliveryIssueInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" DeliveryIssue
@@ -68,7 +69,7 @@ public void DeliveryIssueInstanceTest()
///
/// Test the property 'MessageId'
///
- [Test]
+ [TestMethod]
public void MessageIdTest()
{
// TODO unit test for the property 'MessageId'
@@ -76,7 +77,7 @@ public void MessageIdTest()
///
/// Test the property 'Type'
///
- [Test]
+ [TestMethod]
public void TypeTest()
{
// TODO unit test for the property 'Type'
@@ -84,7 +85,7 @@ public void TypeTest()
///
/// Test the property 'Description'
///
- [Test]
+ [TestMethod]
public void DescriptionTest()
{
// TODO unit test for the property 'Description'
@@ -92,7 +93,7 @@ public void DescriptionTest()
///
/// Test the property 'ClientComments'
///
- [Test]
+ [TestMethod]
public void ClientCommentsTest()
{
// TODO unit test for the property 'ClientComments'
@@ -100,7 +101,7 @@ public void ClientCommentsTest()
///
/// Test the property 'EmailAddress'
///
- [Test]
+ [TestMethod]
public void EmailAddressTest()
{
// TODO unit test for the property 'EmailAddress'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/DeliveryReceiptRuleTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/DeliveryReceiptRuleTests.cs
index 9c4526a..b48b0b3 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/DeliveryReceiptRuleTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/DeliveryReceiptRuleTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class DeliveryReceiptRuleTests
{
// TODO uncomment below to declare an instance variable for DeliveryReceiptRule
@@ -38,7 +39,7 @@ public class DeliveryReceiptRuleTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of DeliveryReceiptRule
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of DeliveryReceiptRule
///
- [Test]
+ [TestMethod]
public void DeliveryReceiptRuleInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" DeliveryReceiptRule
@@ -68,7 +69,7 @@ public void DeliveryReceiptRuleInstanceTest()
///
/// Test the property 'RuleName'
///
- [Test]
+ [TestMethod]
public void RuleNameTest()
{
// TODO unit test for the property 'RuleName'
@@ -76,7 +77,7 @@ public void RuleNameTest()
///
/// Test the property 'MatchType'
///
- [Test]
+ [TestMethod]
public void MatchTypeTest()
{
// TODO unit test for the property 'MatchType'
@@ -84,7 +85,7 @@ public void MatchTypeTest()
///
/// Test the property 'Action'
///
- [Test]
+ [TestMethod]
public void ActionTest()
{
// TODO unit test for the property 'Action'
@@ -92,7 +93,7 @@ public void ActionTest()
///
/// Test the property 'ActionAddress'
///
- [Test]
+ [TestMethod]
public void ActionAddressTest()
{
// TODO unit test for the property 'ActionAddress'
@@ -100,7 +101,7 @@ public void ActionAddressTest()
///
/// Test the property 'Enabled'
///
- [Test]
+ [TestMethod]
public void EnabledTest()
{
// TODO unit test for the property 'Enabled'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailAddressTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailAddressTests.cs
index 7cd3402..3f3ff06 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailAddressTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailAddressTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailAddressTests
{
// TODO uncomment below to declare an instance variable for EmailAddress
@@ -38,7 +39,7 @@ public class EmailAddressTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailAddress
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailAddress
///
- [Test]
+ [TestMethod]
public void EmailAddressInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailAddress
@@ -68,7 +69,7 @@ public void EmailAddressInstanceTest()
///
/// Test the property '_EmailAddress'
///
- [Test]
+ [TestMethod]
public void _EmailAddressTest()
{
// TODO unit test for the property '_EmailAddress'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailCampaignTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailCampaignTests.cs
index baf442e..4185012 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailCampaignTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailCampaignTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailCampaignTests
{
// TODO uncomment below to declare an instance variable for EmailCampaign
@@ -38,7 +39,7 @@ public class EmailCampaignTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailCampaign
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailCampaign
///
- [Test]
+ [TestMethod]
public void EmailCampaignInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailCampaign
@@ -68,7 +69,7 @@ public void EmailCampaignInstanceTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
@@ -76,7 +77,7 @@ public void NameTest()
///
/// Test the property 'Subject'
///
- [Test]
+ [TestMethod]
public void SubjectTest()
{
// TODO unit test for the property 'Subject'
@@ -84,7 +85,7 @@ public void SubjectTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -92,7 +93,7 @@ public void BodyTest()
///
/// Test the property 'FromEmailAddressId'
///
- [Test]
+ [TestMethod]
public void FromEmailAddressIdTest()
{
// TODO unit test for the property 'FromEmailAddressId'
@@ -100,7 +101,7 @@ public void FromEmailAddressIdTest()
///
/// Test the property 'FromName'
///
- [Test]
+ [TestMethod]
public void FromNameTest()
{
// TODO unit test for the property 'FromName'
@@ -108,7 +109,7 @@ public void FromNameTest()
///
/// Test the property 'TemplateId'
///
- [Test]
+ [TestMethod]
public void TemplateIdTest()
{
// TODO unit test for the property 'TemplateId'
@@ -116,7 +117,7 @@ public void TemplateIdTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -124,7 +125,7 @@ public void ListIdTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailFromTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailFromTests.cs
index 1597f8d..4d7ef72 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailFromTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailFromTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailFromTests
{
// TODO uncomment below to declare an instance variable for EmailFrom
@@ -38,7 +39,7 @@ public class EmailFromTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailFrom
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailFrom
///
- [Test]
+ [TestMethod]
public void EmailFromInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailFrom
@@ -68,7 +69,7 @@ public void EmailFromInstanceTest()
///
/// Test the property 'EmailAddressId'
///
- [Test]
+ [TestMethod]
public void EmailAddressIdTest()
{
// TODO unit test for the property 'EmailAddressId'
@@ -76,7 +77,7 @@ public void EmailAddressIdTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailRecipientTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailRecipientTests.cs
index 4a2cecc..ca71217 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailRecipientTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailRecipientTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailRecipientTests
{
// TODO uncomment below to declare an instance variable for EmailRecipient
@@ -38,7 +39,7 @@ public class EmailRecipientTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailRecipient
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailRecipient
///
- [Test]
+ [TestMethod]
public void EmailRecipientInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailRecipient
@@ -68,7 +69,7 @@ public void EmailRecipientInstanceTest()
///
/// Test the property 'Email'
///
- [Test]
+ [TestMethod]
public void EmailTest()
{
// TODO unit test for the property 'Email'
@@ -76,7 +77,7 @@ public void EmailTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailSMSAddressTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailSMSAddressTests.cs
index dfeb5bc..b2aa929 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailSMSAddressTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailSMSAddressTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailSMSAddressTests
{
// TODO uncomment below to declare an instance variable for EmailSMSAddress
@@ -38,7 +39,7 @@ public class EmailSMSAddressTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailSMSAddress
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailSMSAddress
///
- [Test]
+ [TestMethod]
public void EmailSMSAddressInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailSMSAddress
@@ -68,7 +69,7 @@ public void EmailSMSAddressInstanceTest()
///
/// Test the property 'EmailAddress'
///
- [Test]
+ [TestMethod]
public void EmailAddressTest()
{
// TODO unit test for the property 'EmailAddress'
@@ -76,7 +77,7 @@ public void EmailAddressTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -84,7 +85,7 @@ public void FromTest()
///
/// Test the property 'SubaccountId'
///
- [Test]
+ [TestMethod]
public void SubaccountIdTest()
{
// TODO unit test for the property 'SubaccountId'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateNewTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateNewTests.cs
index ec85ad5..3502660 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateNewTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateNewTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailTemplateNewTests
{
// TODO uncomment below to declare an instance variable for EmailTemplateNew
@@ -38,7 +39,7 @@ public class EmailTemplateNewTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailTemplateNew
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailTemplateNew
///
- [Test]
+ [TestMethod]
public void EmailTemplateNewInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailTemplateNew
@@ -68,7 +69,7 @@ public void EmailTemplateNewInstanceTest()
///
/// Test the property 'TemplateName'
///
- [Test]
+ [TestMethod]
public void TemplateNameTest()
{
// TODO unit test for the property 'TemplateName'
@@ -76,7 +77,7 @@ public void TemplateNameTest()
///
/// Test the property 'TemplateIdMaster'
///
- [Test]
+ [TestMethod]
public void TemplateIdMasterTest()
{
// TODO unit test for the property 'TemplateIdMaster'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateUpdateTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateUpdateTests.cs
index 3c535d5..6e03d02 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateUpdateTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailTemplateUpdateTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailTemplateUpdateTests
{
// TODO uncomment below to declare an instance variable for EmailTemplateUpdate
@@ -38,7 +39,7 @@ public class EmailTemplateUpdateTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of EmailTemplateUpdate
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of EmailTemplateUpdate
///
- [Test]
+ [TestMethod]
public void EmailTemplateUpdateInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" EmailTemplateUpdate
@@ -68,7 +69,7 @@ public void EmailTemplateUpdateInstanceTest()
///
/// Test the property 'TemplateName'
///
- [Test]
+ [TestMethod]
public void TemplateNameTest()
{
// TODO unit test for the property 'TemplateName'
@@ -76,7 +77,7 @@ public void TemplateNameTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/EmailTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/EmailTests.cs
index a475a1e..dda8414 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/EmailTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/EmailTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class EmailTests
{
// TODO uncomment below to declare an instance variable for Email
@@ -38,7 +39,7 @@ public class EmailTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Email
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of Email
///
- [Test]
+ [TestMethod]
public void EmailInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Email
@@ -68,7 +69,7 @@ public void EmailInstanceTest()
///
/// Test the property 'To'
///
- [Test]
+ [TestMethod]
public void ToTest()
{
// TODO unit test for the property 'To'
@@ -76,7 +77,7 @@ public void ToTest()
///
/// Test the property 'Cc'
///
- [Test]
+ [TestMethod]
public void CcTest()
{
// TODO unit test for the property 'Cc'
@@ -84,7 +85,7 @@ public void CcTest()
///
/// Test the property 'Bcc'
///
- [Test]
+ [TestMethod]
public void BccTest()
{
// TODO unit test for the property 'Bcc'
@@ -92,7 +93,7 @@ public void BccTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -100,7 +101,7 @@ public void FromTest()
///
/// Test the property 'Subject'
///
- [Test]
+ [TestMethod]
public void SubjectTest()
{
// TODO unit test for the property 'Subject'
@@ -108,7 +109,7 @@ public void SubjectTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -116,7 +117,7 @@ public void BodyTest()
///
/// Test the property 'Attachments'
///
- [Test]
+ [TestMethod]
public void AttachmentsTest()
{
// TODO unit test for the property 'Attachments'
@@ -124,7 +125,7 @@ public void AttachmentsTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageCollectionTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageCollectionTests.cs
index 18c902a..c45b0c3 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageCollectionTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageCollectionTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class FaxMessageCollectionTests
{
// TODO uncomment below to declare an instance variable for FaxMessageCollection
@@ -38,7 +39,7 @@ public class FaxMessageCollectionTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of FaxMessageCollection
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of FaxMessageCollection
///
- [Test]
+ [TestMethod]
public void FaxMessageCollectionInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" FaxMessageCollection
@@ -68,7 +69,7 @@ public void FaxMessageCollectionInstanceTest()
///
/// Test the property 'Messages'
///
- [Test]
+ [TestMethod]
public void MessagesTest()
{
// TODO unit test for the property 'Messages'
@@ -76,7 +77,7 @@ public void MessagesTest()
///
/// Test the property 'FileUrl'
///
- [Test]
+ [TestMethod]
public void FileUrlTest()
{
// TODO unit test for the property 'FileUrl'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageTests.cs
index e6b4e1f..da66e81 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/FaxMessageTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class FaxMessageTests
{
// TODO uncomment below to declare an instance variable for FaxMessage
@@ -38,7 +39,7 @@ public class FaxMessageTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of FaxMessage
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of FaxMessage
///
- [Test]
+ [TestMethod]
public void FaxMessageInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" FaxMessage
@@ -68,7 +69,7 @@ public void FaxMessageInstanceTest()
///
/// Test the property 'Source'
///
- [Test]
+ [TestMethod]
public void SourceTest()
{
// TODO unit test for the property 'Source'
@@ -76,7 +77,7 @@ public void SourceTest()
///
/// Test the property 'To'
///
- [Test]
+ [TestMethod]
public void ToTest()
{
// TODO unit test for the property 'To'
@@ -84,7 +85,7 @@ public void ToTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -92,7 +93,7 @@ public void ListIdTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -100,7 +101,7 @@ public void FromTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -108,7 +109,7 @@ public void ScheduleTest()
///
/// Test the property 'CustomString'
///
- [Test]
+ [TestMethod]
public void CustomStringTest()
{
// TODO unit test for the property 'CustomString'
@@ -116,7 +117,7 @@ public void CustomStringTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
@@ -124,7 +125,7 @@ public void CountryTest()
///
/// Test the property 'FromEmail'
///
- [Test]
+ [TestMethod]
public void FromEmailTest()
{
// TODO unit test for the property 'FromEmail'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/FieldsFieldsTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/FieldsFieldsTests.cs
index b63ff9a..25c2888 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/FieldsFieldsTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/FieldsFieldsTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class FieldsFieldsTests
{
// TODO uncomment below to declare an instance variable for FieldsFields
@@ -38,7 +39,7 @@ public class FieldsFieldsTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of FieldsFields
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of FieldsFields
///
- [Test]
+ [TestMethod]
public void FieldsFieldsInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" FieldsFields
@@ -68,7 +69,7 @@ public void FieldsFieldsInstanceTest()
///
/// Test the property 'PhoneNumber'
///
- [Test]
+ [TestMethod]
public void PhoneNumberTest()
{
// TODO unit test for the property 'PhoneNumber'
@@ -76,7 +77,7 @@ public void PhoneNumberTest()
///
/// Test the property 'Custom1'
///
- [Test]
+ [TestMethod]
public void Custom1Test()
{
// TODO unit test for the property 'Custom1'
@@ -84,7 +85,7 @@ public void Custom1Test()
///
/// Test the property 'Email'
///
- [Test]
+ [TestMethod]
public void EmailTest()
{
// TODO unit test for the property 'Email'
@@ -92,7 +93,7 @@ public void EmailTest()
///
/// Test the property 'FaxNumber'
///
- [Test]
+ [TestMethod]
public void FaxNumberTest()
{
// TODO unit test for the property 'FaxNumber'
@@ -100,7 +101,7 @@ public void FaxNumberTest()
///
/// Test the property 'FirstName'
///
- [Test]
+ [TestMethod]
public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
@@ -108,7 +109,7 @@ public void FirstNameTest()
///
/// Test the property 'AddressLine1'
///
- [Test]
+ [TestMethod]
public void AddressLine1Test()
{
// TODO unit test for the property 'AddressLine1'
@@ -116,7 +117,7 @@ public void AddressLine1Test()
///
/// Test the property 'AddressLine2'
///
- [Test]
+ [TestMethod]
public void AddressLine2Test()
{
// TODO unit test for the property 'AddressLine2'
@@ -124,7 +125,7 @@ public void AddressLine2Test()
///
/// Test the property 'AddressCity'
///
- [Test]
+ [TestMethod]
public void AddressCityTest()
{
// TODO unit test for the property 'AddressCity'
@@ -132,7 +133,7 @@ public void AddressCityTest()
///
/// Test the property 'AddressState'
///
- [Test]
+ [TestMethod]
public void AddressStateTest()
{
// TODO unit test for the property 'AddressState'
@@ -140,7 +141,7 @@ public void AddressStateTest()
///
/// Test the property 'AddressPostalCode'
///
- [Test]
+ [TestMethod]
public void AddressPostalCodeTest()
{
// TODO unit test for the property 'AddressPostalCode'
@@ -148,7 +149,7 @@ public void AddressPostalCodeTest()
///
/// Test the property 'AddressCountry'
///
- [Test]
+ [TestMethod]
public void AddressCountryTest()
{
// TODO unit test for the property 'AddressCountry'
@@ -156,7 +157,7 @@ public void AddressCountryTest()
///
/// Test the property 'OrganizationName'
///
- [Test]
+ [TestMethod]
public void OrganizationNameTest()
{
// TODO unit test for the property 'OrganizationName'
@@ -164,7 +165,7 @@ public void OrganizationNameTest()
///
/// Test the property 'Custom2'
///
- [Test]
+ [TestMethod]
public void Custom2Test()
{
// TODO unit test for the property 'Custom2'
@@ -172,7 +173,7 @@ public void Custom2Test()
///
/// Test the property 'Custom3'
///
- [Test]
+ [TestMethod]
public void Custom3Test()
{
// TODO unit test for the property 'Custom3'
@@ -180,7 +181,7 @@ public void Custom3Test()
///
/// Test the property 'Custom4'
///
- [Test]
+ [TestMethod]
public void Custom4Test()
{
// TODO unit test for the property 'Custom4'
@@ -188,7 +189,7 @@ public void Custom4Test()
///
/// Test the property 'LastName'
///
- [Test]
+ [TestMethod]
public void LastNameTest()
{
// TODO unit test for the property 'LastName'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/FieldsTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/FieldsTests.cs
index fdfec96..78ad10a 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/FieldsTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/FieldsTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class FieldsTests
{
// TODO uncomment below to declare an instance variable for Fields
@@ -38,7 +38,7 @@ public class FieldsTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Fields
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of Fields
///
- [Test]
+ [TestMethod]
public void FieldsInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Fields
@@ -68,7 +68,7 @@ public void FieldsInstanceTest()
///
/// Test the property '_Fields'
///
- [Test]
+ [TestMethod]
public void _FieldsTest()
{
// TODO unit test for the property '_Fields'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ForgotPasswordTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ForgotPasswordTests.cs
index 5e6b41a..3fedd88 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ForgotPasswordTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ForgotPasswordTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ForgotPasswordTests
{
// TODO uncomment below to declare an instance variable for ForgotPassword
@@ -38,7 +39,7 @@ public class ForgotPasswordTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ForgotPassword
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of ForgotPassword
///
- [Test]
+ [TestMethod]
public void ForgotPasswordInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ForgotPassword
@@ -68,7 +69,7 @@ public void ForgotPasswordInstanceTest()
///
/// Test the property 'Username'
///
- [Test]
+ [TestMethod]
public void UsernameTest()
{
// TODO unit test for the property 'Username'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ForgotUsernameTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ForgotUsernameTests.cs
index f5c707a..156743b 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ForgotUsernameTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ForgotUsernameTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ForgotUsernameTests
{
// TODO uncomment below to declare an instance variable for ForgotUsername
@@ -38,7 +39,7 @@ public class ForgotUsernameTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ForgotUsername
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of ForgotUsername
///
- [Test]
+ [TestMethod]
public void ForgotUsernameInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ForgotUsername
@@ -68,7 +69,7 @@ public void ForgotUsernameInstanceTest()
///
/// Test the property 'Email'
///
- [Test]
+ [TestMethod]
public void EmailTest()
{
// TODO unit test for the property 'Email'
@@ -76,7 +77,7 @@ public void EmailTest()
///
/// Test the property 'PhoneNumber'
///
- [Test]
+ [TestMethod]
public void PhoneNumberTest()
{
// TODO unit test for the property 'PhoneNumber'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/InboundFaxRuleTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/InboundFaxRuleTests.cs
index bff3cc7..7f6e985 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/InboundFaxRuleTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/InboundFaxRuleTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class InboundFaxRuleTests
{
// TODO uncomment below to declare an instance variable for InboundFaxRule
@@ -38,7 +39,7 @@ public class InboundFaxRuleTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of InboundFaxRule
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of InboundFaxRule
///
- [Test]
+ [TestMethod]
public void InboundFaxRuleInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" InboundFaxRule
@@ -68,7 +69,7 @@ public void InboundFaxRuleInstanceTest()
///
/// Test the property 'DedicatedNumber'
///
- [Test]
+ [TestMethod]
public void DedicatedNumberTest()
{
// TODO unit test for the property 'DedicatedNumber'
@@ -76,7 +77,7 @@ public void DedicatedNumberTest()
///
/// Test the property 'RuleName'
///
- [Test]
+ [TestMethod]
public void RuleNameTest()
{
// TODO unit test for the property 'RuleName'
@@ -84,7 +85,7 @@ public void RuleNameTest()
///
/// Test the property 'Action'
///
- [Test]
+ [TestMethod]
public void ActionTest()
{
// TODO unit test for the property 'Action'
@@ -92,7 +93,7 @@ public void ActionTest()
///
/// Test the property 'ActionAddress'
///
- [Test]
+ [TestMethod]
public void ActionAddressTest()
{
// TODO unit test for the property 'ActionAddress'
@@ -100,7 +101,7 @@ public void ActionAddressTest()
///
/// Test the property 'Enabled'
///
- [Test]
+ [TestMethod]
public void EnabledTest()
{
// TODO unit test for the property 'Enabled'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/InboundSMSRuleTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/InboundSMSRuleTests.cs
index 1d92518..77ae909 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/InboundSMSRuleTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/InboundSMSRuleTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class InboundSMSRuleTests
{
// TODO uncomment below to declare an instance variable for InboundSMSRule
@@ -38,7 +39,7 @@ public class InboundSMSRuleTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of InboundSMSRule
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of InboundSMSRule
///
- [Test]
+ [TestMethod]
public void InboundSMSRuleInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" InboundSMSRule
@@ -68,7 +69,7 @@ public void InboundSMSRuleInstanceTest()
///
/// Test the property 'DedicatedNumber'
///
- [Test]
+ [TestMethod]
public void DedicatedNumberTest()
{
// TODO unit test for the property 'DedicatedNumber'
@@ -76,7 +77,7 @@ public void DedicatedNumberTest()
///
/// Test the property 'RuleName'
///
- [Test]
+ [TestMethod]
public void RuleNameTest()
{
// TODO unit test for the property 'RuleName'
@@ -84,7 +85,7 @@ public void RuleNameTest()
///
/// Test the property 'MessageSearchType'
///
- [Test]
+ [TestMethod]
public void MessageSearchTypeTest()
{
// TODO unit test for the property 'MessageSearchType'
@@ -92,7 +93,7 @@ public void MessageSearchTypeTest()
///
/// Test the property 'MessageSearchTerm'
///
- [Test]
+ [TestMethod]
public void MessageSearchTermTest()
{
// TODO unit test for the property 'MessageSearchTerm'
@@ -100,7 +101,7 @@ public void MessageSearchTermTest()
///
/// Test the property 'Action'
///
- [Test]
+ [TestMethod]
public void ActionTest()
{
// TODO unit test for the property 'Action'
@@ -108,7 +109,7 @@ public void ActionTest()
///
/// Test the property 'ActionAddress'
///
- [Test]
+ [TestMethod]
public void ActionAddressTest()
{
// TODO unit test for the property 'ActionAddress'
@@ -116,7 +117,7 @@ public void ActionAddressTest()
///
/// Test the property 'Enabled'
///
- [Test]
+ [TestMethod]
public void EnabledTest()
{
// TODO unit test for the property 'Enabled'
@@ -124,7 +125,7 @@ public void EnabledTest()
///
/// Test the property 'WebhookType'
///
- [Test]
+ [TestMethod]
public void WebhookTypeTest()
{
// TODO unit test for the property 'WebhookType'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/MmsCampaignTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/MmsCampaignTests.cs
index c1b75d3..0163178 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/MmsCampaignTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/MmsCampaignTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class MmsCampaignTests
{
// TODO uncomment below to declare an instance variable for MmsCampaign
@@ -38,7 +39,7 @@ public class MmsCampaignTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of MmsCampaign
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of MmsCampaign
///
- [Test]
+ [TestMethod]
public void MmsCampaignInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" MmsCampaign
@@ -68,7 +69,7 @@ public void MmsCampaignInstanceTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -76,7 +77,7 @@ public void ListIdTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
@@ -84,7 +85,7 @@ public void NameTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -92,7 +93,7 @@ public void BodyTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -100,7 +101,7 @@ public void FromTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -108,7 +109,7 @@ public void ScheduleTest()
///
/// Test the property 'Subject'
///
- [Test]
+ [TestMethod]
public void SubjectTest()
{
// TODO unit test for the property 'Subject'
@@ -116,7 +117,7 @@ public void SubjectTest()
///
/// Test the property 'MediaFile'
///
- [Test]
+ [TestMethod]
public void MediaFileTest()
{
// TODO unit test for the property 'MediaFile'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageCollectionTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageCollectionTests.cs
index 8c75918..5e77646 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageCollectionTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageCollectionTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class MmsMessageCollectionTests
{
// TODO uncomment below to declare an instance variable for MmsMessageCollection
@@ -38,7 +39,7 @@ public class MmsMessageCollectionTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of MmsMessageCollection
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of MmsMessageCollection
///
- [Test]
+ [TestMethod]
public void MmsMessageCollectionInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" MmsMessageCollection
@@ -68,7 +69,7 @@ public void MmsMessageCollectionInstanceTest()
///
/// Test the property 'MediaFile'
///
- [Test]
+ [TestMethod]
public void MediaFileTest()
{
// TODO unit test for the property 'MediaFile'
@@ -76,7 +77,7 @@ public void MediaFileTest()
///
/// Test the property 'Messages'
///
- [Test]
+ [TestMethod]
public void MessagesTest()
{
// TODO unit test for the property 'Messages'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageTests.cs
index 6c171c8..3e4d4e6 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/MmsMessageTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -19,6 +19,7 @@
using IO.ClickSend.Client;
using System.Reflection;
using Newtonsoft.Json;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IO.ClickSend.Test
{
@@ -29,7 +30,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class MmsMessageTests
{
// TODO uncomment below to declare an instance variable for MmsMessage
@@ -38,7 +39,7 @@ public class MmsMessageTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of MmsMessage
@@ -48,7 +49,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +58,7 @@ public void Cleanup()
///
/// Test an instance of MmsMessage
///
- [Test]
+ [TestMethod]
public void MmsMessageInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" MmsMessage
@@ -68,7 +69,7 @@ public void MmsMessageInstanceTest()
///
/// Test the property 'To'
///
- [Test]
+ [TestMethod]
public void ToTest()
{
// TODO unit test for the property 'To'
@@ -76,7 +77,7 @@ public void ToTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -84,7 +85,7 @@ public void BodyTest()
///
/// Test the property 'Subject'
///
- [Test]
+ [TestMethod]
public void SubjectTest()
{
// TODO unit test for the property 'Subject'
@@ -92,7 +93,7 @@ public void SubjectTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -100,7 +101,7 @@ public void FromTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
@@ -108,7 +109,7 @@ public void CountryTest()
///
/// Test the property 'Source'
///
- [Test]
+ [TestMethod]
public void SourceTest()
{
// TODO unit test for the property 'Source'
@@ -116,7 +117,7 @@ public void SourceTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -124,7 +125,7 @@ public void ListIdTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -132,7 +133,7 @@ public void ScheduleTest()
///
/// Test the property 'CustomString'
///
- [Test]
+ [TestMethod]
public void CustomStringTest()
{
// TODO unit test for the property 'CustomString'
@@ -140,7 +141,7 @@ public void CustomStringTest()
///
/// Test the property 'FromEmail'
///
- [Test]
+ [TestMethod]
public void FromEmailTest()
{
// TODO unit test for the property 'FromEmail'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/PostLetterTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/PostLetterTests.cs
index 5c349c9..1a48223 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/PostLetterTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/PostLetterTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class PostLetterTests
{
// TODO uncomment below to declare an instance variable for PostLetter
@@ -38,7 +38,7 @@ public class PostLetterTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of PostLetter
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of PostLetter
///
- [Test]
+ [TestMethod]
public void PostLetterInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" PostLetter
@@ -68,7 +68,7 @@ public void PostLetterInstanceTest()
///
/// Test the property 'FileUrl'
///
- [Test]
+ [TestMethod]
public void FileUrlTest()
{
// TODO unit test for the property 'FileUrl'
@@ -76,7 +76,7 @@ public void FileUrlTest()
///
/// Test the property 'PriorityPost'
///
- [Test]
+ [TestMethod]
public void PriorityPostTest()
{
// TODO unit test for the property 'PriorityPost'
@@ -84,7 +84,7 @@ public void PriorityPostTest()
///
/// Test the property 'Recipients'
///
- [Test]
+ [TestMethod]
public void RecipientsTest()
{
// TODO unit test for the property 'Recipients'
@@ -92,7 +92,7 @@ public void RecipientsTest()
///
/// Test the property 'TemplateUsed'
///
- [Test]
+ [TestMethod]
public void TemplateUsedTest()
{
// TODO unit test for the property 'TemplateUsed'
@@ -100,7 +100,7 @@ public void TemplateUsedTest()
///
/// Test the property 'Duplex'
///
- [Test]
+ [TestMethod]
public void DuplexTest()
{
// TODO unit test for the property 'Duplex'
@@ -108,7 +108,7 @@ public void DuplexTest()
///
/// Test the property 'Colour'
///
- [Test]
+ [TestMethod]
public void ColourTest()
{
// TODO unit test for the property 'Colour'
@@ -116,7 +116,7 @@ public void ColourTest()
///
/// Test the property 'Source'
///
- [Test]
+ [TestMethod]
public void SourceTest()
{
// TODO unit test for the property 'Source'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/PostPostcardTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/PostPostcardTests.cs
index c24ec2c..c36b0ad 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/PostPostcardTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/PostPostcardTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class PostPostcardTests
{
// TODO uncomment below to declare an instance variable for PostPostcard
@@ -38,7 +38,7 @@ public class PostPostcardTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of PostPostcard
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of PostPostcard
///
- [Test]
+ [TestMethod]
public void PostPostcardInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" PostPostcard
@@ -68,7 +68,7 @@ public void PostPostcardInstanceTest()
///
/// Test the property 'FileUrls'
///
- [Test]
+ [TestMethod]
public void FileUrlsTest()
{
// TODO unit test for the property 'FileUrls'
@@ -76,7 +76,7 @@ public void FileUrlsTest()
///
/// Test the property 'Recipients'
///
- [Test]
+ [TestMethod]
public void RecipientsTest()
{
// TODO unit test for the property 'Recipients'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/PostRecipientTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/PostRecipientTests.cs
index 82be596..0d621e0 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/PostRecipientTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/PostRecipientTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class PostRecipientTests
{
// TODO uncomment below to declare an instance variable for PostRecipient
@@ -38,7 +38,7 @@ public class PostRecipientTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of PostRecipient
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of PostRecipient
///
- [Test]
+ [TestMethod]
public void PostRecipientInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" PostRecipient
@@ -68,7 +68,7 @@ public void PostRecipientInstanceTest()
///
/// Test the property 'AddressName'
///
- [Test]
+ [TestMethod]
public void AddressNameTest()
{
// TODO unit test for the property 'AddressName'
@@ -76,7 +76,7 @@ public void AddressNameTest()
///
/// Test the property 'AddressLine1'
///
- [Test]
+ [TestMethod]
public void AddressLine1Test()
{
// TODO unit test for the property 'AddressLine1'
@@ -84,7 +84,7 @@ public void AddressLine1Test()
///
/// Test the property 'AddressLine2'
///
- [Test]
+ [TestMethod]
public void AddressLine2Test()
{
// TODO unit test for the property 'AddressLine2'
@@ -92,7 +92,7 @@ public void AddressLine2Test()
///
/// Test the property 'AddressCity'
///
- [Test]
+ [TestMethod]
public void AddressCityTest()
{
// TODO unit test for the property 'AddressCity'
@@ -100,7 +100,7 @@ public void AddressCityTest()
///
/// Test the property 'AddressState'
///
- [Test]
+ [TestMethod]
public void AddressStateTest()
{
// TODO unit test for the property 'AddressState'
@@ -108,7 +108,7 @@ public void AddressStateTest()
///
/// Test the property 'AddressPostalCode'
///
- [Test]
+ [TestMethod]
public void AddressPostalCodeTest()
{
// TODO unit test for the property 'AddressPostalCode'
@@ -116,7 +116,7 @@ public void AddressPostalCodeTest()
///
/// Test the property 'AddressCountry'
///
- [Test]
+ [TestMethod]
public void AddressCountryTest()
{
// TODO unit test for the property 'AddressCountry'
@@ -124,7 +124,7 @@ public void AddressCountryTest()
///
/// Test the property 'ReturnAddressId'
///
- [Test]
+ [TestMethod]
public void ReturnAddressIdTest()
{
// TODO unit test for the property 'ReturnAddressId'
@@ -132,7 +132,7 @@ public void ReturnAddressIdTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTests.cs
index 7cd4acd..5db0a4f 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ResellerAccountTests
{
// TODO uncomment below to declare an instance variable for ResellerAccount
@@ -38,7 +38,7 @@ public class ResellerAccountTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ResellerAccount
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of ResellerAccount
///
- [Test]
+ [TestMethod]
public void ResellerAccountInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ResellerAccount
@@ -68,7 +68,7 @@ public void ResellerAccountInstanceTest()
///
/// Test the property 'Username'
///
- [Test]
+ [TestMethod]
public void UsernameTest()
{
// TODO unit test for the property 'Username'
@@ -76,7 +76,7 @@ public void UsernameTest()
///
/// Test the property 'Password'
///
- [Test]
+ [TestMethod]
public void PasswordTest()
{
// TODO unit test for the property 'Password'
@@ -84,7 +84,7 @@ public void PasswordTest()
///
/// Test the property 'UserEmail'
///
- [Test]
+ [TestMethod]
public void UserEmailTest()
{
// TODO unit test for the property 'UserEmail'
@@ -92,7 +92,7 @@ public void UserEmailTest()
///
/// Test the property 'UserPhone'
///
- [Test]
+ [TestMethod]
public void UserPhoneTest()
{
// TODO unit test for the property 'UserPhone'
@@ -100,7 +100,7 @@ public void UserPhoneTest()
///
/// Test the property 'UserFirstName'
///
- [Test]
+ [TestMethod]
public void UserFirstNameTest()
{
// TODO unit test for the property 'UserFirstName'
@@ -108,7 +108,7 @@ public void UserFirstNameTest()
///
/// Test the property 'UserLastName'
///
- [Test]
+ [TestMethod]
public void UserLastNameTest()
{
// TODO unit test for the property 'UserLastName'
@@ -116,7 +116,7 @@ public void UserLastNameTest()
///
/// Test the property 'AccountName'
///
- [Test]
+ [TestMethod]
public void AccountNameTest()
{
// TODO unit test for the property 'AccountName'
@@ -124,7 +124,7 @@ public void AccountNameTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTransferCreditTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTransferCreditTests.cs
index c2ff3e4..984e508 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTransferCreditTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/ResellerAccountTransferCreditTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class ResellerAccountTransferCreditTests
{
// TODO uncomment below to declare an instance variable for ResellerAccountTransferCredit
@@ -38,7 +38,7 @@ public class ResellerAccountTransferCreditTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of ResellerAccountTransferCredit
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of ResellerAccountTransferCredit
///
- [Test]
+ [TestMethod]
public void ResellerAccountTransferCreditInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ResellerAccountTransferCredit
@@ -68,7 +68,7 @@ public void ResellerAccountTransferCreditInstanceTest()
///
/// Test the property 'ClientUserId'
///
- [Test]
+ [TestMethod]
public void ClientUserIdTest()
{
// TODO unit test for the property 'ClientUserId'
@@ -76,7 +76,7 @@ public void ClientUserIdTest()
///
/// Test the property 'Balance'
///
- [Test]
+ [TestMethod]
public void BalanceTest()
{
// TODO unit test for the property 'Balance'
@@ -84,7 +84,7 @@ public void BalanceTest()
///
/// Test the property 'Currency'
///
- [Test]
+ [TestMethod]
public void CurrencyTest()
{
// TODO unit test for the property 'Currency'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/SmsCampaignTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/SmsCampaignTests.cs
index 5ea69cb..95a0fab 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/SmsCampaignTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/SmsCampaignTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class SmsCampaignTests
{
// TODO uncomment below to declare an instance variable for SmsCampaign
@@ -38,7 +38,7 @@ public class SmsCampaignTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of SmsCampaign
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of SmsCampaign
///
- [Test]
+ [TestMethod]
public void SmsCampaignInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" SmsCampaign
@@ -68,7 +68,7 @@ public void SmsCampaignInstanceTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -76,7 +76,7 @@ public void ListIdTest()
///
/// Test the property 'Name'
///
- [Test]
+ [TestMethod]
public void NameTest()
{
// TODO unit test for the property 'Name'
@@ -84,7 +84,7 @@ public void NameTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -92,7 +92,7 @@ public void BodyTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -100,7 +100,7 @@ public void FromTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -108,7 +108,7 @@ public void ScheduleTest()
///
/// Test the property 'UrlToShorten'
///
- [Test]
+ [TestMethod]
public void UrlToShortenTest()
{
// TODO unit test for the property 'UrlToShorten'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageCollectionTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageCollectionTests.cs
index a397e83..d772257 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageCollectionTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageCollectionTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class SmsMessageCollectionTests
{
// TODO uncomment below to declare an instance variable for SmsMessageCollection
@@ -38,7 +38,7 @@ public class SmsMessageCollectionTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of SmsMessageCollection
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of SmsMessageCollection
///
- [Test]
+ [TestMethod]
public void SmsMessageCollectionInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" SmsMessageCollection
@@ -68,7 +68,7 @@ public void SmsMessageCollectionInstanceTest()
///
/// Test the property 'Messages'
///
- [Test]
+ [TestMethod]
public void MessagesTest()
{
// TODO unit test for the property 'Messages'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageTests.cs
index b206da7..ecdd97b 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/SmsMessageTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class SmsMessageTests
{
// TODO uncomment below to declare an instance variable for SmsMessage
@@ -38,7 +38,7 @@ public class SmsMessageTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of SmsMessage
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of SmsMessage
///
- [Test]
+ [TestMethod]
public void SmsMessageInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" SmsMessage
@@ -68,7 +68,7 @@ public void SmsMessageInstanceTest()
///
/// Test the property 'From'
///
- [Test]
+ [TestMethod]
public void FromTest()
{
// TODO unit test for the property 'From'
@@ -76,7 +76,7 @@ public void FromTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -84,7 +84,7 @@ public void BodyTest()
///
/// Test the property 'To'
///
- [Test]
+ [TestMethod]
public void ToTest()
{
// TODO unit test for the property 'To'
@@ -92,7 +92,7 @@ public void ToTest()
///
/// Test the property 'Source'
///
- [Test]
+ [TestMethod]
public void SourceTest()
{
// TODO unit test for the property 'Source'
@@ -100,7 +100,7 @@ public void SourceTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -108,7 +108,7 @@ public void ScheduleTest()
///
/// Test the property 'CustomString'
///
- [Test]
+ [TestMethod]
public void CustomStringTest()
{
// TODO unit test for the property 'CustomString'
@@ -116,7 +116,7 @@ public void CustomStringTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -124,7 +124,7 @@ public void ListIdTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
@@ -132,7 +132,7 @@ public void CountryTest()
///
/// Test the property 'FromEmail'
///
- [Test]
+ [TestMethod]
public void FromEmailTest()
{
// TODO unit test for the property 'FromEmail'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/SmsTemplateTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/SmsTemplateTests.cs
index 1c0473a..4047e45 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/SmsTemplateTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/SmsTemplateTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class SmsTemplateTests
{
// TODO uncomment below to declare an instance variable for SmsTemplate
@@ -38,7 +38,7 @@ public class SmsTemplateTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of SmsTemplate
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of SmsTemplate
///
- [Test]
+ [TestMethod]
public void SmsTemplateInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" SmsTemplate
@@ -68,7 +68,7 @@ public void SmsTemplateInstanceTest()
///
/// Test the property 'TemplateName'
///
- [Test]
+ [TestMethod]
public void TemplateNameTest()
{
// TODO unit test for the property 'TemplateName'
@@ -76,7 +76,7 @@ public void TemplateNameTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/StrippedStringTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/StrippedStringTests.cs
index 2133212..dc08bb4 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/StrippedStringTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/StrippedStringTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class StrippedStringTests
{
// TODO uncomment below to declare an instance variable for StrippedString
@@ -38,7 +38,7 @@ public class StrippedStringTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of StrippedString
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of StrippedString
///
- [Test]
+ [TestMethod]
public void StrippedStringInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" StrippedString
@@ -68,7 +68,7 @@ public void StrippedStringInstanceTest()
///
/// Test the property 'StripString'
///
- [Test]
+ [TestMethod]
public void StripStringTest()
{
// TODO unit test for the property 'StripString'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/SubaccountTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/SubaccountTests.cs
index e22a96b..49f6942 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/SubaccountTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/SubaccountTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class SubaccountTests
{
// TODO uncomment below to declare an instance variable for Subaccount
@@ -38,7 +38,7 @@ public class SubaccountTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Subaccount
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of Subaccount
///
- [Test]
+ [TestMethod]
public void SubaccountInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Subaccount
@@ -68,7 +68,7 @@ public void SubaccountInstanceTest()
///
/// Test the property 'ApiUsername'
///
- [Test]
+ [TestMethod]
public void ApiUsernameTest()
{
// TODO unit test for the property 'ApiUsername'
@@ -76,7 +76,7 @@ public void ApiUsernameTest()
///
/// Test the property 'Password'
///
- [Test]
+ [TestMethod]
public void PasswordTest()
{
// TODO unit test for the property 'Password'
@@ -84,7 +84,7 @@ public void PasswordTest()
///
/// Test the property 'Email'
///
- [Test]
+ [TestMethod]
public void EmailTest()
{
// TODO unit test for the property 'Email'
@@ -92,7 +92,7 @@ public void EmailTest()
///
/// Test the property 'PhoneNumber'
///
- [Test]
+ [TestMethod]
public void PhoneNumberTest()
{
// TODO unit test for the property 'PhoneNumber'
@@ -100,7 +100,7 @@ public void PhoneNumberTest()
///
/// Test the property 'FirstName'
///
- [Test]
+ [TestMethod]
public void FirstNameTest()
{
// TODO unit test for the property 'FirstName'
@@ -108,7 +108,7 @@ public void FirstNameTest()
///
/// Test the property 'LastName'
///
- [Test]
+ [TestMethod]
public void LastNameTest()
{
// TODO unit test for the property 'LastName'
@@ -116,7 +116,7 @@ public void LastNameTest()
///
/// Test the property 'AccessUsers'
///
- [Test]
+ [TestMethod]
public void AccessUsersTest()
{
// TODO unit test for the property 'AccessUsers'
@@ -124,7 +124,7 @@ public void AccessUsersTest()
///
/// Test the property 'AccessBilling'
///
- [Test]
+ [TestMethod]
public void AccessBillingTest()
{
// TODO unit test for the property 'AccessBilling'
@@ -132,7 +132,7 @@ public void AccessBillingTest()
///
/// Test the property 'AccessReporting'
///
- [Test]
+ [TestMethod]
public void AccessReportingTest()
{
// TODO unit test for the property 'AccessReporting'
@@ -140,7 +140,7 @@ public void AccessReportingTest()
///
/// Test the property 'AccessContacts'
///
- [Test]
+ [TestMethod]
public void AccessContactsTest()
{
// TODO unit test for the property 'AccessContacts'
@@ -148,7 +148,7 @@ public void AccessContactsTest()
///
/// Test the property 'AccessSettings'
///
- [Test]
+ [TestMethod]
public void AccessSettingsTest()
{
// TODO unit test for the property 'AccessSettings'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/UploadFileTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/UploadFileTests.cs
index f72b4cb..62d7d79 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/UploadFileTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/UploadFileTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class UploadFileTests
{
// TODO uncomment below to declare an instance variable for UploadFile
@@ -38,7 +38,7 @@ public class UploadFileTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of UploadFile
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of UploadFile
///
- [Test]
+ [TestMethod]
public void UploadFileInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" UploadFile
@@ -68,7 +68,7 @@ public void UploadFileInstanceTest()
///
/// Test the property 'Content'
///
- [Test]
+ [TestMethod]
public void ContentTest()
{
// TODO unit test for the property 'Content'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/UrlTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/UrlTests.cs
index 708f358..32157db 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/UrlTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/UrlTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class UrlTests
{
// TODO uncomment below to declare an instance variable for Url
@@ -38,7 +38,7 @@ public class UrlTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of Url
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of Url
///
- [Test]
+ [TestMethod]
public void UrlInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" Url
@@ -68,7 +68,7 @@ public void UrlInstanceTest()
///
/// Test the property '_Url'
///
- [Test]
+ [TestMethod]
public void _UrlTest()
{
// TODO unit test for the property '_Url'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageCollectionTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageCollectionTests.cs
index 6cfead2..48d7a73 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageCollectionTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageCollectionTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class VoiceMessageCollectionTests
{
// TODO uncomment below to declare an instance variable for VoiceMessageCollection
@@ -38,7 +38,7 @@ public class VoiceMessageCollectionTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of VoiceMessageCollection
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of VoiceMessageCollection
///
- [Test]
+ [TestMethod]
public void VoiceMessageCollectionInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" VoiceMessageCollection
@@ -68,7 +68,7 @@ public void VoiceMessageCollectionInstanceTest()
///
/// Test the property 'Messages'
///
- [Test]
+ [TestMethod]
public void MessagesTest()
{
// TODO unit test for the property 'Messages'
diff --git a/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageTests.cs b/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageTests.cs
index ed090eb..272276f 100644
--- a/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageTests.cs
+++ b/src/IO.ClickSend.Test/ClickSend.Model/VoiceMessageTests.cs
@@ -8,7 +8,7 @@
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
-using NUnit.Framework;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
@@ -29,7 +29,7 @@ namespace IO.ClickSend.Test
/// This file is automatically generated by ClickSend Codegen.
/// Please update the test case below to test the model.
///
- [TestFixture]
+ [TestClass]
public class VoiceMessageTests
{
// TODO uncomment below to declare an instance variable for VoiceMessage
@@ -38,7 +38,7 @@ public class VoiceMessageTests
///
/// Setup before each test
///
- [SetUp]
+ [TestInitialize]
public void Init()
{
// TODO uncomment below to create an instance of VoiceMessage
@@ -48,7 +48,7 @@ public void Init()
///
/// Clean up after each test
///
- [TearDown]
+ [TestCleanup]
public void Cleanup()
{
@@ -57,7 +57,7 @@ public void Cleanup()
///
/// Test an instance of VoiceMessage
///
- [Test]
+ [TestMethod]
public void VoiceMessageInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" VoiceMessage
@@ -68,7 +68,7 @@ public void VoiceMessageInstanceTest()
///
/// Test the property 'To'
///
- [Test]
+ [TestMethod]
public void ToTest()
{
// TODO unit test for the property 'To'
@@ -76,7 +76,7 @@ public void ToTest()
///
/// Test the property 'Body'
///
- [Test]
+ [TestMethod]
public void BodyTest()
{
// TODO unit test for the property 'Body'
@@ -84,7 +84,7 @@ public void BodyTest()
///
/// Test the property 'Voice'
///
- [Test]
+ [TestMethod]
public void VoiceTest()
{
// TODO unit test for the property 'Voice'
@@ -92,7 +92,7 @@ public void VoiceTest()
///
/// Test the property 'CustomString'
///
- [Test]
+ [TestMethod]
public void CustomStringTest()
{
// TODO unit test for the property 'CustomString'
@@ -100,7 +100,7 @@ public void CustomStringTest()
///
/// Test the property 'Country'
///
- [Test]
+ [TestMethod]
public void CountryTest()
{
// TODO unit test for the property 'Country'
@@ -108,7 +108,7 @@ public void CountryTest()
///
/// Test the property 'Source'
///
- [Test]
+ [TestMethod]
public void SourceTest()
{
// TODO unit test for the property 'Source'
@@ -116,7 +116,7 @@ public void SourceTest()
///
/// Test the property 'ListId'
///
- [Test]
+ [TestMethod]
public void ListIdTest()
{
// TODO unit test for the property 'ListId'
@@ -124,7 +124,7 @@ public void ListIdTest()
///
/// Test the property 'Lang'
///
- [Test]
+ [TestMethod]
public void LangTest()
{
// TODO unit test for the property 'Lang'
@@ -132,7 +132,7 @@ public void LangTest()
///
/// Test the property 'Schedule'
///
- [Test]
+ [TestMethod]
public void ScheduleTest()
{
// TODO unit test for the property 'Schedule'
@@ -140,7 +140,7 @@ public void ScheduleTest()
///
/// Test the property 'RequireInput'
///
- [Test]
+ [TestMethod]
public void RequireInputTest()
{
// TODO unit test for the property 'RequireInput'
@@ -148,7 +148,7 @@ public void RequireInputTest()
///
/// Test the property 'MachineDetection'
///
- [Test]
+ [TestMethod]
public void MachineDetectionTest()
{
// TODO unit test for the property 'MachineDetection'
diff --git a/src/IO.ClickSend.Test/IO.ClickSend.Test.csproj b/src/IO.ClickSend.Test/IO.ClickSend.Test.csproj
index 40cccc6..75ac827 100644
--- a/src/IO.ClickSend.Test/IO.ClickSend.Test.csproj
+++ b/src/IO.ClickSend.Test/IO.ClickSend.Test.csproj
@@ -1,4 +1,4 @@
-
+