From 502572a40d9fc59f096a7df4fc4b6e77143d73d0 Mon Sep 17 00:00:00 2001 From: Scott Date: Sat, 14 Dec 2024 00:58:25 -0500 Subject: [PATCH 1/2] reference updates --- ...285f7250-cf60-4b5b-868d-189ef8b73e11.vsidx | Bin 0 -> 35996 bytes ...c14eaf4a-17cc-407b-9032-3dff0a277dd0.vsidx | Bin 0 -> 6904 bytes .vs/IO.ClickSend/FileContentIndex/read.lock | 0 IO.ClickSend.sln | 21 +-- .../ClickSend.Api/AccountApiTests.cs | 26 ++-- .../ClickSend.Api/AccountRechargeApiTests.cs | 23 +-- .../ClickSend.Api/ContactApiTests.cs | 27 ++-- .../ClickSend.Api/ContactListApiTests.cs | 25 +-- .../ClickSend.Api/CountriesApiTests.cs | 13 +- .../ClickSend.Api/DeliveryIssuesApiTests.cs | 15 +- .../ClickSend.Api/DetectAddressApiTests.cs | 13 +- .../EmailDeliveryReceiptRulesApiTests.cs | 21 +-- .../ClickSend.Api/EmailMarketingApiTests.cs | 39 ++--- .../ClickSend.Api/EmailToSmsApiTests.cs | 25 +-- .../ClickSend.Api/FAXApiTests.cs | 25 +-- .../FAXDeliveryReceiptRulesApiTests.cs | 21 +-- .../ClickSend.Api/GlobalSendingApiTests.cs | 19 +-- .../ClickSend.Api/InboundFAXRulesApiTests.cs | 21 +-- .../ClickSend.Api/InboundSMSRulesApiTests.cs | 21 +-- .../ClickSend.Api/MMSApiTests.cs | 23 +-- .../MasterEmailTemplatesApiTests.cs | 21 +-- .../ClickSend.Api/MmsCampaignApiTests.cs | 23 +-- .../ClickSend.Api/NumberApiTests.cs | 17 +- .../ClickSend.Api/PostLetterApiTests.cs | 19 +-- .../ClickSend.Api/PostPostcardApiTests.cs | 19 +-- .../PostReturnAddressApiTests.cs | 21 +-- .../ClickSend.Api/ReferralAccountApiTests.cs | 13 +- .../ClickSend.Api/ResellerAccountApiTests.cs | 19 +-- .../ClickSend.Api/SMSApiTests.cs | 47 +++--- .../SMSDeliveryReceiptRulesApiTests.cs | 21 +-- .../ClickSend.Api/SearchApiTests.cs | 13 +- .../ClickSend.Api/SmsCampaignApiTests.cs | 23 +-- .../ClickSend.Api/StatisticsApiTests.cs | 15 +- .../ClickSend.Api/SubaccountApiTests.cs | 23 +-- .../ClickSend.Api/TimezonesApiTests.cs | 13 +- .../TransactionalEmailApiTests.cs | 19 +-- .../ClickSend.Api/TransferCreditApiTests.cs | 13 +- .../ClickSend.Api/UploadApiTests.cs | 13 +- .../UserEmailTemplatesApiTests.cs | 21 +-- .../ClickSend.Api/VoiceApiTests.cs | 31 ++-- .../VoiceDeliveryReceiptRulesApiTests.cs | 21 +-- .../AccountForgotPasswordVerifyTests.cs | 17 +- .../ClickSend.Model/AccountTests.cs | 27 ++-- .../ClickSend.Model/AccountVerifyTests.cs | 17 +- .../ClickSend.Model/AddressTests.cs | 25 +-- .../ClickSend.Model/AttachmentTests.cs | 21 +-- .../ClickSend.Model/ContactListImportTests.cs | 15 +- .../ClickSend.Model/ContactListTests.cs | 13 +- .../ClickSend.Model/ContactTests.cs | 43 +++--- .../ClickSend.Model/CountryListIdsTests.cs | 13 +- .../ClickSend.Model/CreditCardTests.cs | 23 +-- .../ClickSend.Model/DateBeforeTests.cs | 13 +- .../ClickSend.Model/DeliveryIssueTests.cs | 21 +-- .../DeliveryReceiptRuleTests.cs | 21 +-- .../ClickSend.Model/EmailAddressTests.cs | 13 +- .../ClickSend.Model/EmailCampaignTests.cs | 27 ++-- .../ClickSend.Model/EmailFromTests.cs | 15 +- .../ClickSend.Model/EmailRecipientTests.cs | 15 +- .../ClickSend.Model/EmailSMSAddressTests.cs | 17 +- .../ClickSend.Model/EmailTemplateNewTests.cs | 15 +- .../EmailTemplateUpdateTests.cs | 15 +- .../ClickSend.Model/EmailTests.cs | 27 ++-- .../FaxMessageCollectionTests.cs | 15 +- .../ClickSend.Model/FaxMessageTests.cs | 27 ++-- .../ClickSend.Model/FieldsFieldsTests.cs | 43 +++--- .../ClickSend.Model/FieldsTests.cs | 12 +- .../ClickSend.Model/ForgotPasswordTests.cs | 13 +- .../ClickSend.Model/ForgotUsernameTests.cs | 15 +- .../ClickSend.Model/InboundFaxRuleTests.cs | 21 +-- .../ClickSend.Model/InboundSMSRuleTests.cs | 27 ++-- .../ClickSend.Model/MmsCampaignTests.cs | 25 +-- .../MmsMessageCollectionTests.cs | 15 +- .../ClickSend.Model/MmsMessageTests.cs | 31 ++-- .../ClickSend.Model/PostLetterTests.cs | 24 +-- .../ClickSend.Model/PostPostcardTests.cs | 14 +- .../ClickSend.Model/PostRecipientTests.cs | 28 ++-- .../ClickSend.Model/ResellerAccountTests.cs | 26 ++-- .../ResellerAccountTransferCreditTests.cs | 16 +- .../ClickSend.Model/SmsCampaignTests.cs | 22 +-- .../SmsMessageCollectionTests.cs | 12 +- .../ClickSend.Model/SmsMessageTests.cs | 28 ++-- .../ClickSend.Model/SmsTemplateTests.cs | 14 +- .../ClickSend.Model/StrippedStringTests.cs | 12 +- .../ClickSend.Model/SubaccountTests.cs | 32 ++-- .../ClickSend.Model/UploadFileTests.cs | 12 +- .../ClickSend.Model/UrlTests.cs | 12 +- .../VoiceMessageCollectionTests.cs | 12 +- .../ClickSend.Model/VoiceMessageTests.cs | 32 ++-- .../IO.ClickSend.Test.csproj | 93 ++++++----- src/IO.ClickSend.Test/app.config | 15 ++ src/IO.ClickSend.Test/packages.config | 21 ++- src/IO.ClickSend/ClickSend.Api/AccountApi.cs | 66 ++++---- .../ClickSend.Api/AccountRechargeApi.cs | 50 +++--- src/IO.ClickSend/ClickSend.Api/ContactApi.cs | 66 ++++---- .../ClickSend.Api/ContactListApi.cs | 58 +++---- .../ClickSend.Api/CountriesApi.cs | 10 +- .../ClickSend.Api/DeliveryIssuesApi.cs | 18 +-- .../ClickSend.Api/DetectAddressApi.cs | 10 +- .../EmailDeliveryReceiptRulesApi.cs | 42 ++--- .../ClickSend.Api/EmailMarketingApi.cs | 114 +++++++------- .../ClickSend.Api/EmailToSmsApi.cs | 58 +++---- src/IO.ClickSend/ClickSend.Api/FAXApi.cs | 58 +++---- .../FAXDeliveryReceiptRulesApi.cs | 42 ++--- .../ClickSend.Api/GlobalSendingApi.cs | 34 ++-- .../ClickSend.Api/InboundFAXRulesApi.cs | 42 ++--- .../ClickSend.Api/InboundSMSRulesApi.cs | 42 ++--- src/IO.ClickSend/ClickSend.Api/MMSApi.cs | 50 +++--- .../ClickSend.Api/MasterEmailTemplatesApi.cs | 42 ++--- .../ClickSend.Api/MmsCampaignApi.cs | 50 +++--- src/IO.ClickSend/ClickSend.Api/NumberApi.cs | 26 ++-- .../ClickSend.Api/PostLetterApi.cs | 34 ++-- .../ClickSend.Api/PostPostcardApi.cs | 34 ++-- .../ClickSend.Api/PostReturnAddressApi.cs | 42 ++--- .../ClickSend.Api/ReferralAccountApi.cs | 10 +- .../ClickSend.Api/ResellerAccountApi.cs | 34 ++-- src/IO.ClickSend/ClickSend.Api/SMSApi.cs | 146 +++++++++--------- .../SMSDeliveryReceiptRulesApi.cs | 42 ++--- src/IO.ClickSend/ClickSend.Api/SearchApi.cs | 10 +- .../ClickSend.Api/SmsCampaignApi.cs | 50 +++--- .../ClickSend.Api/StatisticsApi.cs | 18 +-- .../ClickSend.Api/SubaccountApi.cs | 50 +++--- .../ClickSend.Api/TimezonesApi.cs | 10 +- .../ClickSend.Api/TransactionalEmailApi.cs | 34 ++-- .../ClickSend.Api/TransferCreditApi.cs | 10 +- src/IO.ClickSend/ClickSend.Api/UploadApi.cs | 10 +- .../ClickSend.Api/UserEmailTemplatesApi.cs | 44 +++--- src/IO.ClickSend/ClickSend.Api/VoiceApi.cs | 86 +++++------ .../VoiceDeliveryReceiptRulesApi.cs | 44 +++--- src/IO.ClickSend/Client/ApiClient.cs | 43 +++--- src/IO.ClickSend/Client/Configuration.cs | 65 ++++---- src/IO.ClickSend/Client/ExceptionFactory.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- src/IO.ClickSend/IO.ClickSend.csproj | 68 +++++--- src/IO.ClickSend/app.config | 15 ++ src/IO.ClickSend/packages.config | 19 ++- 135 files changed, 1926 insertions(+), 1759 deletions(-) create mode 100644 .vs/IO.ClickSend/FileContentIndex/285f7250-cf60-4b5b-868d-189ef8b73e11.vsidx create mode 100644 .vs/IO.ClickSend/FileContentIndex/c14eaf4a-17cc-407b-9032-3dff0a277dd0.vsidx create mode 100644 .vs/IO.ClickSend/FileContentIndex/read.lock create mode 100644 src/IO.ClickSend.Test/app.config create mode 100644 src/IO.ClickSend/app.config 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 0000000000000000000000000000000000000000..c665471c1118feb11062defeb582d5017d7b898f GIT binary patch literal 35996 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 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..caee88d8fd7bd22c8ac5d46094b83b157baf8554 GIT binary patch literal 6904 zcmb8!0cadm8VB&L7fY{{UM#hgUMb~KN-5d5v)RoigxzgsXWk@}%)A-jo7rSbC{5G$ zYA?i)6cG_mq)72ZL_~^+h=_=Yh=_=Ycp@TFw1|j!B2tQoCnDmBNRfLl{U6_@%!N3# z`F(lsec$`$&FoUB=a2W5N~KGC%nx(f*j}5=-+%mJH7r>em#ore4rf*Kr^adyYjAd? z%{mT~g6SU170WZ$tq*iXxmqhXczJ}Cy`&t6++o})bBFUm#)ml{Vcbjjq~=m^mGfNk zZne^GR$N{2l8P@XDzE6wVHKxbb;=EgJ5DWd+?wP1Ro1R@r&{%^HD2|H23cj$ZPd79 z=4vjh1w(c2)cJ6okJJM(QU{PEt?hd({EN( zv!a_vW}2>UcEYBYG=0%jc~fUiowpcoF{j0MvHY?OtzSAF*DU|b?c`0c2ggj ziA@u3!*%_-D});eH)3uqT$Q=H?CRLn+Reg_Q|k=6olth7uoLw>p}h&=O$jgYy(IP$ z>8ZraBflQ_Lyj+`FH%30eyDtv`&}WpXKqHcnD8>;GvSBAS3>wA<|1}Q+!3-Rq-XPF zCQ>1k7OE>W7g-?kOiU+Y+WhQ_UKW%`f@(Dw3WDJv5G)XlARG^r8)W4mUfi-;IQdLNAg! z%JQh!j(X;f!cjHmloJib>V!>n4ibXpX(`KhQl5rZ!QEiS`wz|@dr8yLP5TO*A z6uA`BGB7*0l<<@}*{J~~M^&QjDe6#VLS?zirRs*d9BZDN zmq5FLd4yWTt4k6+mFt-6BrqLmEwp*~nb3Kvdpaw78K2BnUkLN?G7+0+kOe9WW7BvR zW~T4V+=uBPPwhVD4eLa?IXkIyX~x=ln&!&QmB^LMvmnn@w`x9fylb9u=uIbTI!ny6 zor%p!hrQ4@d-k&A;`PsQY0~J8&iZrb=4R7V%PV&*&MnN&FWf%=*OgO?C(H9IXXcid zW>=QyXTyYhc3hiro}F4bH#@hq#OLo=Jbn9L{(b0gm#@VC-1Pe^{ZEnAj{f!ck3O=M zuKn?PgImz&O-B3IUjL2l7n6-QL%Y`gz7=kR+hIT40e8Y(a5uEyd$!JAxDW1!3?6_7 z;URb!4nPhaqrI%Q{vfQw1{{H-unF6640fOo12|!{m(}iLpRqN95~fhW40hoRJPK#w zF{8b#w(fCw0-l7Y;Td=qE*R})wfT#12`0Bv!!g)_J`CUloP-gSFogz5-u`uff;h8}Lo|7JM7N1K)-3!S~?@@DltGUWOmTPvEEUGx$0D0)7d< zf>+>G_%-|neha^Y-@_l^kMJk>GyDbq3a`Q6pna)UzXxC++zhwCt#BLM4*TH_xD)Pz zyWt+V7w&`mA%h3tL3jurh69j82M)qIY`_sX3Y)ME$6yEgFn|+q5=KzM6e^g(E}Vf! z;Ve7`kHZu2Bs>kzz_V}xF2ee@)vt%r%?9&GOa1oO{ zs50$K>!>n~QMCSS(YoKCK~*R!szTk<9Z^KHluNTkl_|q7naj7oQ!ZuDI-1>RL~j_? zqg)y*itJ~sbo1J-D7Pr0PK)YobS$;|rfc`5lcY%4b;7Qrj4?ZQ!{_5xJ9evGH)f;N zS<0m`s!U^aNA!$nx1tQnrHFQ;Go`MIPLjr`N>Nm_j>ae|%BAk9KUzn3PCe5)8oRAz zuG`k0E>$V&V54Ky0oB`Rl$xgg|2srgXbUTS3Y_u|cdsAhKis}_rrZMVt{al)*h^lO~1InQDqlhZgT~Y=`MY|PM zS%0kP?JU}ts`w>y-SFI~3iU_#Q8Y&Niq_HdD9SB*6X`T4qRQ(>MSB#D6;+|#D1#!J yrChpmx{sn+szT3$*3oRy7@Z$QwC={Jgv+k|6XHL^tN2f>^Q&!_N*A_YpZE{FsV#5- literal 0 HcmV?d00001 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 @@ - +