From dc0955a4a17ddc02cfaf817e6849880b8098cef9 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sat, 11 Nov 2017 10:51:40 -0200 Subject: [PATCH] Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase --- composer.json | 2 +- tests/PayPal/Test/Api/AddressTest.php | 5 ++--- tests/PayPal/Test/Api/AgreementStateDescriptorTest.php | 3 ++- tests/PayPal/Test/Api/AgreementTest.php | 3 ++- tests/PayPal/Test/Api/AgreementTransactionTest.php | 3 ++- tests/PayPal/Test/Api/AgreementTransactionsTest.php | 3 ++- tests/PayPal/Test/Api/AlternatePaymentTest.php | 3 ++- tests/PayPal/Test/Api/AmountTest.php | 3 ++- tests/PayPal/Test/Api/AuthorizationTest.php | 3 ++- tests/PayPal/Test/Api/BankAccountTest.php | 3 ++- tests/PayPal/Test/Api/BankAccountsListTest.php | 3 ++- tests/PayPal/Test/Api/BankTokenTest.php | 3 ++- tests/PayPal/Test/Api/BillingInfoTest.php | 3 ++- tests/PayPal/Test/Api/BillingTest.php | 3 ++- tests/PayPal/Test/Api/CancelNotificationTest.php | 3 ++- tests/PayPal/Test/Api/CaptureTest.php | 3 ++- tests/PayPal/Test/Api/CarrierAccountTest.php | 3 ++- tests/PayPal/Test/Api/CarrierAccountTokenTest.php | 3 ++- tests/PayPal/Test/Api/CartBaseTest.php | 3 ++- tests/PayPal/Test/Api/ChargeModelTest.php | 3 ++- tests/PayPal/Test/Api/CostTest.php | 3 ++- tests/PayPal/Test/Api/CountryCodeTest.php | 3 ++- tests/PayPal/Test/Api/CreateProfileResponseTest.php | 3 ++- tests/PayPal/Test/Api/CreditCardHistoryTest.php | 3 ++- tests/PayPal/Test/Api/CreditCardListTest.php | 3 ++- tests/PayPal/Test/Api/CreditCardTest.php | 3 ++- tests/PayPal/Test/Api/CreditCardTokenTest.php | 3 ++- tests/PayPal/Test/Api/CreditFinancingOfferedTest.php | 3 ++- tests/PayPal/Test/Api/CreditTest.php | 3 ++- tests/PayPal/Test/Api/CurrencyConversionTest.php | 3 ++- tests/PayPal/Test/Api/CurrencyTest.php | 3 ++- tests/PayPal/Test/Api/CustomAmountTest.php | 3 ++- tests/PayPal/Test/Api/DetailedRefundTest.php | 3 ++- tests/PayPal/Test/Api/DetailsTest.php | 3 ++- tests/PayPal/Test/Api/ErrorDetailsTest.php | 3 ++- tests/PayPal/Test/Api/ErrorTest.php | 3 ++- tests/PayPal/Test/Api/ExtendedBankAccountTest.php | 3 ++- tests/PayPal/Test/Api/ExternalFundingTest.php | 3 ++- tests/PayPal/Test/Api/FileAttachmentTest.php | 3 ++- tests/PayPal/Test/Api/FlowConfigTest.php | 3 ++- tests/PayPal/Test/Api/FmfDetailsTest.php | 3 ++- tests/PayPal/Test/Api/FundingDetailTest.php | 3 ++- tests/PayPal/Test/Api/FundingInstrumentTest.php | 3 ++- tests/PayPal/Test/Api/FundingOptionTest.php | 3 ++- tests/PayPal/Test/Api/FundingSourceTest.php | 3 ++- tests/PayPal/Test/Api/HyperSchemaTest.php | 3 ++- tests/PayPal/Test/Api/ImageTest.php | 3 ++- tests/PayPal/Test/Api/IncentiveTest.php | 3 ++- tests/PayPal/Test/Api/InputFieldsTest.php | 3 ++- tests/PayPal/Test/Api/InstallmentInfoTest.php | 3 ++- tests/PayPal/Test/Api/InstallmentOptionTest.php | 3 ++- tests/PayPal/Test/Api/InvoiceAddressTest.php | 3 ++- tests/PayPal/Test/Api/InvoiceItemTest.php | 3 ++- tests/PayPal/Test/Api/InvoiceNumberTest.php | 3 ++- tests/PayPal/Test/Api/InvoiceSearchResponseTest.php | 3 ++- tests/PayPal/Test/Api/InvoiceTest.php | 3 ++- tests/PayPal/Test/Api/ItemListTest.php | 3 ++- tests/PayPal/Test/Api/ItemTest.php | 3 ++- tests/PayPal/Test/Api/LinksTest.php | 3 ++- tests/PayPal/Test/Api/MeasurementTest.php | 3 ++- tests/PayPal/Test/Api/MerchantInfoTest.php | 3 ++- tests/PayPal/Test/Api/MerchantPreferencesTest.php | 3 ++- tests/PayPal/Test/Api/MetadataTest.php | 3 ++- tests/PayPal/Test/Api/NameValuePairTest.php | 3 ++- tests/PayPal/Test/Api/NotificationTest.php | 3 ++- tests/PayPal/Test/Api/OpenIdAddressTest.php | 9 ++++++--- tests/PayPal/Test/Api/OpenIdErrorTest.php | 3 ++- tests/PayPal/Test/Api/OpenIdSessionTest.php | 3 ++- tests/PayPal/Test/Api/OpenIdTokeninfoTest.php | 3 ++- tests/PayPal/Test/Api/OpenIdUserinfoTest.php | 3 ++- tests/PayPal/Test/Api/OrderTest.php | 3 ++- tests/PayPal/Test/Api/OverrideChargeModelTest.php | 3 ++- tests/PayPal/Test/Api/ParticipantTest.php | 3 ++- tests/PayPal/Test/Api/PatchRequestTest.php | 3 ++- tests/PayPal/Test/Api/PatchTest.php | 3 ++- tests/PayPal/Test/Api/PayeeTest.php | 3 ++- tests/PayPal/Test/Api/PayerInfoTest.php | 3 ++- tests/PayPal/Test/Api/PayerTest.php | 3 ++- tests/PayPal/Test/Api/PaymentCardTest.php | 3 ++- tests/PayPal/Test/Api/PaymentCardTokenTest.php | 3 ++- tests/PayPal/Test/Api/PaymentDefinitionTest.php | 3 ++- tests/PayPal/Test/Api/PaymentDetailTest.php | 3 ++- tests/PayPal/Test/Api/PaymentExecutionTest.php | 3 ++- tests/PayPal/Test/Api/PaymentHistoryTest.php | 3 ++- tests/PayPal/Test/Api/PaymentInstructionTest.php | 3 ++- tests/PayPal/Test/Api/PaymentOptionsTest.php | 3 ++- tests/PayPal/Test/Api/PaymentSummaryTest.php | 3 ++- tests/PayPal/Test/Api/PaymentTermTest.php | 3 ++- tests/PayPal/Test/Api/PaymentTest.php | 3 ++- tests/PayPal/Test/Api/PayoutBatchHeaderTest.php | 3 ++- tests/PayPal/Test/Api/PayoutBatchTest.php | 3 ++- tests/PayPal/Test/Api/PayoutItemDetailsTest.php | 3 ++- tests/PayPal/Test/Api/PayoutItemTest.php | 3 ++- tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php | 3 ++- tests/PayPal/Test/Api/PayoutTest.php | 3 ++- tests/PayPal/Test/Api/PhoneTest.php | 3 ++- tests/PayPal/Test/Api/PlanListTest.php | 3 ++- tests/PayPal/Test/Api/PlanTest.php | 3 ++- tests/PayPal/Test/Api/PotentialPayerInfoTest.php | 3 ++- tests/PayPal/Test/Api/PresentationTest.php | 3 ++- tests/PayPal/Test/Api/PrivateLabelCardTest.php | 3 ++- tests/PayPal/Test/Api/ProcessorResponseTest.php | 3 ++- .../PayPal/Test/Api/RecipientBankingInstructionTest.php | 3 ++- tests/PayPal/Test/Api/RedirectUrlsTest.php | 3 ++- tests/PayPal/Test/Api/RefundDetailTest.php | 3 ++- tests/PayPal/Test/Api/RefundRequestTest.php | 3 ++- tests/PayPal/Test/Api/RefundTest.php | 3 ++- tests/PayPal/Test/Api/RelatedResourcesTest.php | 3 ++- tests/PayPal/Test/Api/SaleTest.php | 3 ++- tests/PayPal/Test/Api/SearchTest.php | 3 ++- tests/PayPal/Test/Api/ShippingAddressTest.php | 3 ++- tests/PayPal/Test/Api/ShippingCostTest.php | 3 ++- tests/PayPal/Test/Api/ShippingInfoTest.php | 3 ++- tests/PayPal/Test/Api/TaxTest.php | 3 ++- tests/PayPal/Test/Api/TemplateDataTest.php | 3 ++- tests/PayPal/Test/Api/TemplateSettingsMetadataTest.php | 3 ++- tests/PayPal/Test/Api/TemplateSettingsTest.php | 3 ++- tests/PayPal/Test/Api/TemplateTest.php | 3 ++- tests/PayPal/Test/Api/TemplatesTest.php | 3 ++- tests/PayPal/Test/Api/TermsTest.php | 3 ++- tests/PayPal/Test/Api/TransactionTest.php | 3 ++- .../Test/Api/VerifyWebhookSignatureResponseTest.php | 3 ++- tests/PayPal/Test/Api/VerifyWebhookSignatureTest.php | 3 ++- tests/PayPal/Test/Api/WebProfileTest.php | 3 ++- tests/PayPal/Test/Api/WebhookEventListTest.php | 3 ++- tests/PayPal/Test/Api/WebhookEventTest.php | 3 ++- tests/PayPal/Test/Api/WebhookEventTypeListTest.php | 3 ++- tests/PayPal/Test/Api/WebhookEventTypeTest.php | 3 ++- tests/PayPal/Test/Api/WebhookListTest.php | 3 ++- tests/PayPal/Test/Api/WebhookTest.php | 3 ++- tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php | 3 ++- tests/PayPal/Test/Cache/AuthorizationCacheTest.php | 3 ++- tests/PayPal/Test/Common/ArrayUtilTest.php | 3 ++- tests/PayPal/Test/Common/FormatConverterTest.php | 3 ++- tests/PayPal/Test/Common/ModelTest.php | 3 ++- tests/PayPal/Test/Common/PayPalModelTest.php | 3 ++- tests/PayPal/Test/Common/UserAgentTest.php | 3 ++- tests/PayPal/Test/Core/PPConfigManagerTest.php.skipped | 3 ++- tests/PayPal/Test/Core/PayPalCredentialManagerTest.php | 3 ++- tests/PayPal/Test/Core/PayPalHttpConfigTest.php | 3 ++- tests/PayPal/Test/Core/PayPalLoggingManagerTest.php | 3 ++- .../Test/Exception/PayPalConfigurationExceptionTest.php | 3 ++- .../Test/Exception/PayPalConnectionExceptionTest.php | 3 ++- .../Exception/PayPalInvalidCredentialExceptionTest.php | 3 ++- .../Exception/PayPalMissingCredentialExceptionTest.php | 3 ++- .../Functional/Api/BillingAgreementsFunctionalTest.php | 3 ++- .../Test/Functional/Api/BillingPlansFunctionalTest.php | 3 ++- .../PayPal/Test/Functional/Api/InvoiceFunctionalTest.php | 3 ++- .../Test/Functional/Api/PaymentsFunctionalTest.php | 3 ++- .../PayPal/Test/Functional/Api/PayoutsFunctionalTest.php | 3 ++- .../Test/Functional/Api/WebProfileFunctionalTest.php | 3 ++- .../PayPal/Test/Functional/Api/WebhookFunctionalTest.php | 3 ++- tests/PayPal/Test/Functional/Setup.php | 3 ++- tests/PayPal/Test/Handler/OauthHandlerTest.php | 3 ++- tests/PayPal/Test/Rest/ApiContextTest.php | 3 ++- tests/PayPal/Test/Validation/ArgumentValidatorTest.php | 3 ++- tests/PayPal/Test/Validation/JsonValidatorTest.php | 3 ++- tests/PayPal/Test/Validation/NumericValidatorTest.php | 3 ++- tests/PayPal/Test/Validation/UrlValidatorTest.php | 3 ++- 159 files changed, 321 insertions(+), 163 deletions(-) diff --git a/composer.json b/composer.json index 8d9c05b..530a2ab 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "psr/log": "^1.0.0" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "^4.8.35" }, "autoload": { "psr-0": { diff --git a/tests/PayPal/Test/Api/AddressTest.php b/tests/PayPal/Test/Api/AddressTest.php index 4fc5e56..d65739a 100644 --- a/tests/PayPal/Test/Api/AddressTest.php +++ b/tests/PayPal/Test/Api/AddressTest.php @@ -1,15 +1,15 @@ setCountry("US")->setLocality("San Jose") - ->setPostalCode("95112")->setRegion("CA") - ->setStreetAddress("1, North 1'st street"); + ->setPostalCode("95112")->setRegion("CA") + ->setStreetAddress("1, North 1'st street"); return $addr; } @@ -49,4 +51,5 @@ class OpenIdAddressTest extends \PHPUnit_Framework_TestCase $this->assertEquals($this->addr, $addrCopy); } + } diff --git a/tests/PayPal/Test/Api/OpenIdErrorTest.php b/tests/PayPal/Test/Api/OpenIdErrorTest.php index 1d938c3..07be8d2 100644 --- a/tests/PayPal/Test/Api/OpenIdErrorTest.php +++ b/tests/PayPal/Test/Api/OpenIdErrorTest.php @@ -3,12 +3,13 @@ namespace PayPal\Test\Api; use PayPal\Api\OpenIdError; +use PHPUnit\Framework\TestCase; /** * Test class for OpenIdError. * */ -class OpenIdErrorTest extends \PHPUnit_Framework_TestCase +class OpenIdErrorTest extends TestCase { /** @var OpenIdError */ diff --git a/tests/PayPal/Test/Api/OpenIdSessionTest.php b/tests/PayPal/Test/Api/OpenIdSessionTest.php index 0a5a98d..5e9fc2e 100644 --- a/tests/PayPal/Test/Api/OpenIdSessionTest.php +++ b/tests/PayPal/Test/Api/OpenIdSessionTest.php @@ -4,12 +4,13 @@ namespace PayPal\Test\Api; use PayPal\Api\OpenIdSession; use PayPal\Rest\ApiContext; +use PHPUnit\Framework\TestCase; /** * Test class for OpenIdSession. * */ -class OpenIdSessionTest extends \PHPUnit_Framework_TestCase +class OpenIdSessionTest extends TestCase { private $context; diff --git a/tests/PayPal/Test/Api/OpenIdTokeninfoTest.php b/tests/PayPal/Test/Api/OpenIdTokeninfoTest.php index 34cfa8c..87f6b40 100644 --- a/tests/PayPal/Test/Api/OpenIdTokeninfoTest.php +++ b/tests/PayPal/Test/Api/OpenIdTokeninfoTest.php @@ -2,12 +2,13 @@ namespace PayPal\Test\Api; use PayPal\Api\OpenIdTokeninfo; +use PHPUnit\Framework\TestCase; /** * Test class for OpenIdTokeninfo. * */ -class OpenIdTokeninfoTest extends \PHPUnit_Framework_TestCase +class OpenIdTokeninfoTest extends TestCase { /** @var OpenIdTokeninfo */ diff --git a/tests/PayPal/Test/Api/OpenIdUserinfoTest.php b/tests/PayPal/Test/Api/OpenIdUserinfoTest.php index 8c543b1..34f0de0 100644 --- a/tests/PayPal/Test/Api/OpenIdUserinfoTest.php +++ b/tests/PayPal/Test/Api/OpenIdUserinfoTest.php @@ -3,12 +3,13 @@ namespace PayPal\Test\Api; use PayPal\Api\OpenIdUserinfo; +use PHPUnit\Framework\TestCase; /** * Test class for OpenIdUserinfo. * */ -class OpenIdUserinfoTest extends \PHPUnit_Framework_TestCase +class OpenIdUserinfoTest extends TestCase { diff --git a/tests/PayPal/Test/Api/OrderTest.php b/tests/PayPal/Test/Api/OrderTest.php index e917d80..d3b61a5 100644 --- a/tests/PayPal/Test/Api/OrderTest.php +++ b/tests/PayPal/Test/Api/OrderTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Authorization; use PayPal\Api\Order; +use PHPUnit\Framework\TestCase; /** * Class Order * * @package PayPal\Test\Api */ -class OrderTest extends \PHPUnit_Framework_TestCase +class OrderTest extends TestCase { /** * Gets Json String of Object Order diff --git a/tests/PayPal/Test/Api/OverrideChargeModelTest.php b/tests/PayPal/Test/Api/OverrideChargeModelTest.php index 3633748..1161f2f 100644 --- a/tests/PayPal/Test/Api/OverrideChargeModelTest.php +++ b/tests/PayPal/Test/Api/OverrideChargeModelTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\OverrideChargeModel; +use PHPUnit\Framework\TestCase; /** * Class OverrideChargeModel * * @package PayPal\Test\Api */ -class OverrideChargeModelTest extends \PHPUnit_Framework_TestCase +class OverrideChargeModelTest extends TestCase { /** * Gets Json String of Object OverrideChargeModel diff --git a/tests/PayPal/Test/Api/ParticipantTest.php b/tests/PayPal/Test/Api/ParticipantTest.php index be8d522..a1f2e79 100644 --- a/tests/PayPal/Test/Api/ParticipantTest.php +++ b/tests/PayPal/Test/Api/ParticipantTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\Participant; +use PHPUnit\Framework\TestCase; /** * Class Participant * * @package PayPal\Test\Api */ -class ParticipantTest extends \PHPUnit_Framework_TestCase +class ParticipantTest extends TestCase { /** * Gets Json String of Object Participant diff --git a/tests/PayPal/Test/Api/PatchRequestTest.php b/tests/PayPal/Test/Api/PatchRequestTest.php index 133d9c4..dead21b 100644 --- a/tests/PayPal/Test/Api/PatchRequestTest.php +++ b/tests/PayPal/Test/Api/PatchRequestTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\PatchRequest; +use PHPUnit\Framework\TestCase; /** * Class PatchRequest * * @package PayPal\Test\Api */ -class PatchRequestTest extends \PHPUnit_Framework_TestCase +class PatchRequestTest extends TestCase { /** * Gets Json String of Object PatchRequest diff --git a/tests/PayPal/Test/Api/PatchTest.php b/tests/PayPal/Test/Api/PatchTest.php index 9b989c9..a1ecabd 100644 --- a/tests/PayPal/Test/Api/PatchTest.php +++ b/tests/PayPal/Test/Api/PatchTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\Patch; +use PHPUnit\Framework\TestCase; /** * Class Patch * * @package PayPal\Test\Api */ -class PatchTest extends \PHPUnit_Framework_TestCase +class PatchTest extends TestCase { /** * Gets Json String of Object Patch diff --git a/tests/PayPal/Test/Api/PayeeTest.php b/tests/PayPal/Test/Api/PayeeTest.php index cce2e74..41d6f87 100644 --- a/tests/PayPal/Test/Api/PayeeTest.php +++ b/tests/PayPal/Test/Api/PayeeTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Payee; +use PHPUnit\Framework\TestCase; /** * Class Payee * * @package PayPal\Test\Api */ -class PayeeTest extends \PHPUnit_Framework_TestCase +class PayeeTest extends TestCase { /** * Gets Json String of Object Payee diff --git a/tests/PayPal/Test/Api/PayerInfoTest.php b/tests/PayPal/Test/Api/PayerInfoTest.php index 18b9a81..7d56682 100644 --- a/tests/PayPal/Test/Api/PayerInfoTest.php +++ b/tests/PayPal/Test/Api/PayerInfoTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PayerInfo; +use PHPUnit\Framework\TestCase; /** * Class PayerInfo * * @package PayPal\Test\Api */ -class PayerInfoTest extends \PHPUnit_Framework_TestCase +class PayerInfoTest extends TestCase { /** * Gets Json String of Object PayerInfo diff --git a/tests/PayPal/Test/Api/PayerTest.php b/tests/PayPal/Test/Api/PayerTest.php index 7e29d94..a7051fa 100644 --- a/tests/PayPal/Test/Api/PayerTest.php +++ b/tests/PayPal/Test/Api/PayerTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Payer; +use PHPUnit\Framework\TestCase; /** * Class Payer * * @package PayPal\Test\Api */ -class PayerTest extends \PHPUnit_Framework_TestCase +class PayerTest extends TestCase { /** * Gets Json String of Object Payer diff --git a/tests/PayPal/Test/Api/PaymentCardTest.php b/tests/PayPal/Test/Api/PaymentCardTest.php index 86cce22..a4b617a 100644 --- a/tests/PayPal/Test/Api/PaymentCardTest.php +++ b/tests/PayPal/Test/Api/PaymentCardTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentCard; +use PHPUnit\Framework\TestCase; /** * Class PaymentCard * * @package PayPal\Test\Api */ -class PaymentCardTest extends \PHPUnit_Framework_TestCase +class PaymentCardTest extends TestCase { /** * Gets Json String of Object PaymentCard diff --git a/tests/PayPal/Test/Api/PaymentCardTokenTest.php b/tests/PayPal/Test/Api/PaymentCardTokenTest.php index be8b3eb..a8c6074 100644 --- a/tests/PayPal/Test/Api/PaymentCardTokenTest.php +++ b/tests/PayPal/Test/Api/PaymentCardTokenTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentCardToken; +use PHPUnit\Framework\TestCase; /** * Class PaymentCardToken * * @package PayPal\Test\Api */ -class PaymentCardTokenTest extends \PHPUnit_Framework_TestCase +class PaymentCardTokenTest extends TestCase { /** * Gets Json String of Object PaymentCardToken diff --git a/tests/PayPal/Test/Api/PaymentDefinitionTest.php b/tests/PayPal/Test/Api/PaymentDefinitionTest.php index 05fad64..bcfab58 100644 --- a/tests/PayPal/Test/Api/PaymentDefinitionTest.php +++ b/tests/PayPal/Test/Api/PaymentDefinitionTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentDefinition; +use PHPUnit\Framework\TestCase; /** * Class PaymentDefinition * * @package PayPal\Test\Api */ -class PaymentDefinitionTest extends \PHPUnit_Framework_TestCase +class PaymentDefinitionTest extends TestCase { /** * Gets Json String of Object PaymentDefinition diff --git a/tests/PayPal/Test/Api/PaymentDetailTest.php b/tests/PayPal/Test/Api/PaymentDetailTest.php index 09a79e4..87e6492 100644 --- a/tests/PayPal/Test/Api/PaymentDetailTest.php +++ b/tests/PayPal/Test/Api/PaymentDetailTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentDetail; +use PHPUnit\Framework\TestCase; /** * Class PaymentDetail * * @package PayPal\Test\Api */ -class PaymentDetailTest extends \PHPUnit_Framework_TestCase +class PaymentDetailTest extends TestCase { /** * Gets Json String of Object PaymentDetail diff --git a/tests/PayPal/Test/Api/PaymentExecutionTest.php b/tests/PayPal/Test/Api/PaymentExecutionTest.php index 71b1551..bc1cc32 100644 --- a/tests/PayPal/Test/Api/PaymentExecutionTest.php +++ b/tests/PayPal/Test/Api/PaymentExecutionTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentExecution; +use PHPUnit\Framework\TestCase; /** * Class PaymentExecution * * @package PayPal\Test\Api */ -class PaymentExecutionTest extends \PHPUnit_Framework_TestCase +class PaymentExecutionTest extends TestCase { /** * Gets Json String of Object PaymentExecution diff --git a/tests/PayPal/Test/Api/PaymentHistoryTest.php b/tests/PayPal/Test/Api/PaymentHistoryTest.php index 9ad748a..7cad0ad 100644 --- a/tests/PayPal/Test/Api/PaymentHistoryTest.php +++ b/tests/PayPal/Test/Api/PaymentHistoryTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentHistory; +use PHPUnit\Framework\TestCase; /** * Class PaymentHistory * * @package PayPal\Test\Api */ -class PaymentHistoryTest extends \PHPUnit_Framework_TestCase +class PaymentHistoryTest extends TestCase { /** * Gets Json String of Object PaymentHistory diff --git a/tests/PayPal/Test/Api/PaymentInstructionTest.php b/tests/PayPal/Test/Api/PaymentInstructionTest.php index d153d35..e58c6f8 100644 --- a/tests/PayPal/Test/Api/PaymentInstructionTest.php +++ b/tests/PayPal/Test/Api/PaymentInstructionTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentInstruction; use PayPal\Transport\PPRestCall; +use PHPUnit\Framework\TestCase; /** * Class PaymentInstruction * * @package PayPal\Test\Api */ -class PaymentInstructionTest extends \PHPUnit_Framework_TestCase +class PaymentInstructionTest extends TestCase { /** * Gets Json String of Object PaymentInstruction diff --git a/tests/PayPal/Test/Api/PaymentOptionsTest.php b/tests/PayPal/Test/Api/PaymentOptionsTest.php index 31eb9f0..5127524 100644 --- a/tests/PayPal/Test/Api/PaymentOptionsTest.php +++ b/tests/PayPal/Test/Api/PaymentOptionsTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentOptions; +use PHPUnit\Framework\TestCase; /** * Class PaymentOptions * * @package PayPal\Test\Api */ -class PaymentOptionsTest extends \PHPUnit_Framework_TestCase +class PaymentOptionsTest extends TestCase { /** * Gets Json String of Object PaymentOptions diff --git a/tests/PayPal/Test/Api/PaymentSummaryTest.php b/tests/PayPal/Test/Api/PaymentSummaryTest.php index b745900..1659646 100644 --- a/tests/PayPal/Test/Api/PaymentSummaryTest.php +++ b/tests/PayPal/Test/Api/PaymentSummaryTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\PaymentSummary; +use PHPUnit\Framework\TestCase; /** * Class PaymentSummary * * @package PayPal\Test\Api */ -class PaymentSummaryTest extends \PHPUnit_Framework_TestCase +class PaymentSummaryTest extends TestCase { /** * Gets Json String of Object PaymentSummary diff --git a/tests/PayPal/Test/Api/PaymentTermTest.php b/tests/PayPal/Test/Api/PaymentTermTest.php index f5593e7..5587a67 100644 --- a/tests/PayPal/Test/Api/PaymentTermTest.php +++ b/tests/PayPal/Test/Api/PaymentTermTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PaymentTerm; +use PHPUnit\Framework\TestCase; /** * Class PaymentTerm * * @package PayPal\Test\Api */ -class PaymentTermTest extends \PHPUnit_Framework_TestCase +class PaymentTermTest extends TestCase { /** * Gets Json String of Object PaymentTerm diff --git a/tests/PayPal/Test/Api/PaymentTest.php b/tests/PayPal/Test/Api/PaymentTest.php index 9f2e67e..3a72d7a 100644 --- a/tests/PayPal/Test/Api/PaymentTest.php +++ b/tests/PayPal/Test/Api/PaymentTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Payment; +use PHPUnit\Framework\TestCase; /** * Class Payment * * @package PayPal\Test\Api */ -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** * Gets Json String of Object Payment diff --git a/tests/PayPal/Test/Api/PayoutBatchHeaderTest.php b/tests/PayPal/Test/Api/PayoutBatchHeaderTest.php index 6b44c25..c5d4d19 100644 --- a/tests/PayPal/Test/Api/PayoutBatchHeaderTest.php +++ b/tests/PayPal/Test/Api/PayoutBatchHeaderTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PayoutBatchHeader; +use PHPUnit\Framework\TestCase; /** * Class PayoutBatchHeader * * @package PayPal\Test\Api */ -class PayoutBatchHeaderTest extends \PHPUnit_Framework_TestCase +class PayoutBatchHeaderTest extends TestCase { /** * Gets Json String of Object PayoutBatchHeader diff --git a/tests/PayPal/Test/Api/PayoutBatchTest.php b/tests/PayPal/Test/Api/PayoutBatchTest.php index f8c8b2b..c7d1aad 100644 --- a/tests/PayPal/Test/Api/PayoutBatchTest.php +++ b/tests/PayPal/Test/Api/PayoutBatchTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PayoutBatch; +use PHPUnit\Framework\TestCase; /** * Class PayoutBatch * * @package PayPal\Test\Api */ -class PayoutBatchTest extends \PHPUnit_Framework_TestCase +class PayoutBatchTest extends TestCase { /** * Gets Json String of Object PayoutBatch diff --git a/tests/PayPal/Test/Api/PayoutItemDetailsTest.php b/tests/PayPal/Test/Api/PayoutItemDetailsTest.php index 0db1a55..d021f3c 100644 --- a/tests/PayPal/Test/Api/PayoutItemDetailsTest.php +++ b/tests/PayPal/Test/Api/PayoutItemDetailsTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PayoutItemDetails; +use PHPUnit\Framework\TestCase; /** * Class PayoutItemDetails * * @package PayPal\Test\Api */ -class PayoutItemDetailsTest extends \PHPUnit_Framework_TestCase +class PayoutItemDetailsTest extends TestCase { /** * Gets Json String of Object PayoutItemDetails diff --git a/tests/PayPal/Test/Api/PayoutItemTest.php b/tests/PayPal/Test/Api/PayoutItemTest.php index f15d884..aa42053 100644 --- a/tests/PayPal/Test/Api/PayoutItemTest.php +++ b/tests/PayPal/Test/Api/PayoutItemTest.php @@ -5,13 +5,14 @@ namespace PayPal\Test\Api; use PayPal\Api\ItemsArray; use PayPal\Api\PayoutItem; use PayPal\Transport\PPRestCall; +use PHPUnit\Framework\TestCase; /** * Class PayoutItem * * @package PayPal\Test\Api */ -class PayoutItemTest extends \PHPUnit_Framework_TestCase +class PayoutItemTest extends TestCase { /** * Gets Json String of Object PayoutItem diff --git a/tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php b/tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php index 0a0a823..8447c87 100644 --- a/tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php +++ b/tests/PayPal/Test/Api/PayoutSenderBatchHeaderTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\PayoutSenderBatchHeader; +use PHPUnit\Framework\TestCase; /** * Class PayoutSenderBatchHeader * * @package PayPal\Test\Api */ -class PayoutSenderBatchHeaderTest extends \PHPUnit_Framework_TestCase +class PayoutSenderBatchHeaderTest extends TestCase { /** * Gets Json String of Object PayoutSenderBatchHeader diff --git a/tests/PayPal/Test/Api/PayoutTest.php b/tests/PayPal/Test/Api/PayoutTest.php index 155e12e..efc7b89 100644 --- a/tests/PayPal/Test/Api/PayoutTest.php +++ b/tests/PayPal/Test/Api/PayoutTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Payout; +use PHPUnit\Framework\TestCase; /** * Class Payout * * @package PayPal\Test\Api */ -class PayoutTest extends \PHPUnit_Framework_TestCase +class PayoutTest extends TestCase { /** * Gets Json String of Object Payout diff --git a/tests/PayPal/Test/Api/PhoneTest.php b/tests/PayPal/Test/Api/PhoneTest.php index 258f327..6cbb566 100644 --- a/tests/PayPal/Test/Api/PhoneTest.php +++ b/tests/PayPal/Test/Api/PhoneTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Phone; +use PHPUnit\Framework\TestCase; /** * Class Phone * * @package PayPal\Test\Api */ -class PhoneTest extends \PHPUnit_Framework_TestCase +class PhoneTest extends TestCase { /** * Gets Json String of Object Phone diff --git a/tests/PayPal/Test/Api/PlanListTest.php b/tests/PayPal/Test/Api/PlanListTest.php index 3015ffd..db4afb7 100644 --- a/tests/PayPal/Test/Api/PlanListTest.php +++ b/tests/PayPal/Test/Api/PlanListTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PlanList; +use PHPUnit\Framework\TestCase; /** * Class PlanList * * @package PayPal\Test\Api */ -class PlanListTest extends \PHPUnit_Framework_TestCase +class PlanListTest extends TestCase { /** * Gets Json String of Object PlanList diff --git a/tests/PayPal/Test/Api/PlanTest.php b/tests/PayPal/Test/Api/PlanTest.php index bb78481..9b37297 100644 --- a/tests/PayPal/Test/Api/PlanTest.php +++ b/tests/PayPal/Test/Api/PlanTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Plan; +use PHPUnit\Framework\TestCase; /** * Class Plan * * @package PayPal\Test\Api */ -class PlanTest extends \PHPUnit_Framework_TestCase +class PlanTest extends TestCase { /** * Gets Json String of Object Plan diff --git a/tests/PayPal/Test/Api/PotentialPayerInfoTest.php b/tests/PayPal/Test/Api/PotentialPayerInfoTest.php index 97b7904..1d12418 100644 --- a/tests/PayPal/Test/Api/PotentialPayerInfoTest.php +++ b/tests/PayPal/Test/Api/PotentialPayerInfoTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PotentialPayerInfo; +use PHPUnit\Framework\TestCase; /** * Class PotentialPayerInfo * * @package PayPal\Test\Api */ -class PotentialPayerInfoTest extends \PHPUnit_Framework_TestCase +class PotentialPayerInfoTest extends TestCase { /** * Gets Json String of Object PotentialPayerInfo diff --git a/tests/PayPal/Test/Api/PresentationTest.php b/tests/PayPal/Test/Api/PresentationTest.php index 0a81009..12b5577 100644 --- a/tests/PayPal/Test/Api/PresentationTest.php +++ b/tests/PayPal/Test/Api/PresentationTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Presentation; +use PHPUnit\Framework\TestCase; /** * Class Presentation * * @package PayPal\Test\Api */ -class PresentationTest extends \PHPUnit_Framework_TestCase +class PresentationTest extends TestCase { /** * Gets Json String of Object Presentation diff --git a/tests/PayPal/Test/Api/PrivateLabelCardTest.php b/tests/PayPal/Test/Api/PrivateLabelCardTest.php index e76023c..34da187 100644 --- a/tests/PayPal/Test/Api/PrivateLabelCardTest.php +++ b/tests/PayPal/Test/Api/PrivateLabelCardTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\PrivateLabelCard; +use PHPUnit\Framework\TestCase; /** * Class PrivateLabelCard * * @package PayPal\Test\Api */ -class PrivateLabelCardTest extends \PHPUnit_Framework_TestCase +class PrivateLabelCardTest extends TestCase { /** * Gets Json String of Object PrivateLabelCard diff --git a/tests/PayPal/Test/Api/ProcessorResponseTest.php b/tests/PayPal/Test/Api/ProcessorResponseTest.php index c88d2f6..db38ad7 100644 --- a/tests/PayPal/Test/Api/ProcessorResponseTest.php +++ b/tests/PayPal/Test/Api/ProcessorResponseTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\ProcessorResponse; +use PHPUnit\Framework\TestCase; /** * Class ProcessorResponse * * @package PayPal\Test\Api */ -class ProcessorResponseTest extends \PHPUnit_Framework_TestCase +class ProcessorResponseTest extends TestCase { /** * Gets Json String of Object ProcessorResponse diff --git a/tests/PayPal/Test/Api/RecipientBankingInstructionTest.php b/tests/PayPal/Test/Api/RecipientBankingInstructionTest.php index 93c481c..6d42f52 100644 --- a/tests/PayPal/Test/Api/RecipientBankingInstructionTest.php +++ b/tests/PayPal/Test/Api/RecipientBankingInstructionTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\RecipientBankingInstruction; +use PHPUnit\Framework\TestCase; /** * Class RecipientBankingInstruction * * @package PayPal\Test\Api */ -class RecipientBankingInstructionTest extends \PHPUnit_Framework_TestCase +class RecipientBankingInstructionTest extends TestCase { /** * Gets Json String of Object RecipientBankingInstruction diff --git a/tests/PayPal/Test/Api/RedirectUrlsTest.php b/tests/PayPal/Test/Api/RedirectUrlsTest.php index 890312c..6a40990 100644 --- a/tests/PayPal/Test/Api/RedirectUrlsTest.php +++ b/tests/PayPal/Test/Api/RedirectUrlsTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\RedirectUrls; +use PHPUnit\Framework\TestCase; /** * Class RedirectUrls * * @package PayPal\Test\Api */ -class RedirectUrlsTest extends \PHPUnit_Framework_TestCase +class RedirectUrlsTest extends TestCase { /** * Gets Json String of Object RedirectUrls diff --git a/tests/PayPal/Test/Api/RefundDetailTest.php b/tests/PayPal/Test/Api/RefundDetailTest.php index ec66a40..71ab7c9 100644 --- a/tests/PayPal/Test/Api/RefundDetailTest.php +++ b/tests/PayPal/Test/Api/RefundDetailTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\RefundDetail; +use PHPUnit\Framework\TestCase; /** * Class RefundDetail * * @package PayPal\Test\Api */ -class RefundDetailTest extends \PHPUnit_Framework_TestCase +class RefundDetailTest extends TestCase { /** * Gets Json String of Object RefundDetail diff --git a/tests/PayPal/Test/Api/RefundRequestTest.php b/tests/PayPal/Test/Api/RefundRequestTest.php index ba44676..89695ca 100644 --- a/tests/PayPal/Test/Api/RefundRequestTest.php +++ b/tests/PayPal/Test/Api/RefundRequestTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\RefundRequest; +use PHPUnit\Framework\TestCase; /** * Class RefundRequest * * @package PayPal\Test\Api */ -class RefundRequestTest extends \PHPUnit_Framework_TestCase +class RefundRequestTest extends TestCase { /** * Gets Json String of Object RefundRequest diff --git a/tests/PayPal/Test/Api/RefundTest.php b/tests/PayPal/Test/Api/RefundTest.php index c7a5d8f..c80ba61 100644 --- a/tests/PayPal/Test/Api/RefundTest.php +++ b/tests/PayPal/Test/Api/RefundTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Refund; +use PHPUnit\Framework\TestCase; /** * Class Refund * * @package PayPal\Test\Api */ -class RefundTest extends \PHPUnit_Framework_TestCase +class RefundTest extends TestCase { /** * Gets Json String of Object Refund diff --git a/tests/PayPal/Test/Api/RelatedResourcesTest.php b/tests/PayPal/Test/Api/RelatedResourcesTest.php index e7ad684..a02d64d 100644 --- a/tests/PayPal/Test/Api/RelatedResourcesTest.php +++ b/tests/PayPal/Test/Api/RelatedResourcesTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\RelatedResources; +use PHPUnit\Framework\TestCase; /** * Class RelatedResources * * @package PayPal\Test\Api */ -class RelatedResourcesTest extends \PHPUnit_Framework_TestCase +class RelatedResourcesTest extends TestCase { /** * Gets Json String of Object RelatedResources diff --git a/tests/PayPal/Test/Api/SaleTest.php b/tests/PayPal/Test/Api/SaleTest.php index 3afb3e6..dfae558 100644 --- a/tests/PayPal/Test/Api/SaleTest.php +++ b/tests/PayPal/Test/Api/SaleTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Sale; +use PHPUnit\Framework\TestCase; /** * Class Sale * * @package PayPal\Test\Api */ -class SaleTest extends \PHPUnit_Framework_TestCase +class SaleTest extends TestCase { /** * Gets Json String of Object Sale diff --git a/tests/PayPal/Test/Api/SearchTest.php b/tests/PayPal/Test/Api/SearchTest.php index 60bd56c..6239d7a 100644 --- a/tests/PayPal/Test/Api/SearchTest.php +++ b/tests/PayPal/Test/Api/SearchTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Search; +use PHPUnit\Framework\TestCase; /** * Class Search * * @package PayPal\Test\Api */ -class SearchTest extends \PHPUnit_Framework_TestCase +class SearchTest extends TestCase { /** * Gets Json String of Object Search diff --git a/tests/PayPal/Test/Api/ShippingAddressTest.php b/tests/PayPal/Test/Api/ShippingAddressTest.php index 9fa01a4..e8afc09 100644 --- a/tests/PayPal/Test/Api/ShippingAddressTest.php +++ b/tests/PayPal/Test/Api/ShippingAddressTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\ShippingAddress; +use PHPUnit\Framework\TestCase; /** * Class ShippingAddress * * @package PayPal\Test\Api */ -class ShippingAddressTest extends \PHPUnit_Framework_TestCase +class ShippingAddressTest extends TestCase { /** * Gets Json String of Object ShippingAddress diff --git a/tests/PayPal/Test/Api/ShippingCostTest.php b/tests/PayPal/Test/Api/ShippingCostTest.php index 2de4b35..7955673 100644 --- a/tests/PayPal/Test/Api/ShippingCostTest.php +++ b/tests/PayPal/Test/Api/ShippingCostTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\ShippingCost; +use PHPUnit\Framework\TestCase; /** * Class ShippingCost * * @package PayPal\Test\Api */ -class ShippingCostTest extends \PHPUnit_Framework_TestCase +class ShippingCostTest extends TestCase { /** * Gets Json String of Object ShippingCost diff --git a/tests/PayPal/Test/Api/ShippingInfoTest.php b/tests/PayPal/Test/Api/ShippingInfoTest.php index c62ea32..9f30ed8 100644 --- a/tests/PayPal/Test/Api/ShippingInfoTest.php +++ b/tests/PayPal/Test/Api/ShippingInfoTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\ShippingInfo; +use PHPUnit\Framework\TestCase; /** * Class ShippingInfo * * @package PayPal\Test\Api */ -class ShippingInfoTest extends \PHPUnit_Framework_TestCase +class ShippingInfoTest extends TestCase { /** * Gets Json String of Object ShippingInfo diff --git a/tests/PayPal/Test/Api/TaxTest.php b/tests/PayPal/Test/Api/TaxTest.php index 3a6b7b2..cf8ee28 100644 --- a/tests/PayPal/Test/Api/TaxTest.php +++ b/tests/PayPal/Test/Api/TaxTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Tax; +use PHPUnit\Framework\TestCase; /** * Class Tax * * @package PayPal\Test\Api */ -class TaxTest extends \PHPUnit_Framework_TestCase +class TaxTest extends TestCase { /** * Gets Json String of Object Tax diff --git a/tests/PayPal/Test/Api/TemplateDataTest.php b/tests/PayPal/Test/Api/TemplateDataTest.php index d1aa55f..0b03b80 100644 --- a/tests/PayPal/Test/Api/TemplateDataTest.php +++ b/tests/PayPal/Test/Api/TemplateDataTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\TemplateData; +use PHPUnit\Framework\TestCase; /** * Class TemplateData * * @package PayPal\Test\Api */ -class TemplateDataTest extends \PHPUnit_Framework_TestCase +class TemplateDataTest extends TestCase { /** * Gets Json String of Object TemplateData diff --git a/tests/PayPal/Test/Api/TemplateSettingsMetadataTest.php b/tests/PayPal/Test/Api/TemplateSettingsMetadataTest.php index f335485..c7f2ab3 100644 --- a/tests/PayPal/Test/Api/TemplateSettingsMetadataTest.php +++ b/tests/PayPal/Test/Api/TemplateSettingsMetadataTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\TemplateSettingsMetadata; +use PHPUnit\Framework\TestCase; /** * Class TemplateSettingsMetadata * * @package PayPal\Test\Api */ -class TemplateSettingsMetadataTest extends \PHPUnit_Framework_TestCase +class TemplateSettingsMetadataTest extends TestCase { /** * Gets Json String of Object TemplateSettingsMetadata diff --git a/tests/PayPal/Test/Api/TemplateSettingsTest.php b/tests/PayPal/Test/Api/TemplateSettingsTest.php index d79eca0..f9d661d 100644 --- a/tests/PayPal/Test/Api/TemplateSettingsTest.php +++ b/tests/PayPal/Test/Api/TemplateSettingsTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\TemplateSettings; +use PHPUnit\Framework\TestCase; /** * Class TemplateSettings * * @package PayPal\Test\Api */ -class TemplateSettingsTest extends \PHPUnit_Framework_TestCase +class TemplateSettingsTest extends TestCase { /** * Gets Json String of Object TemplateSettings diff --git a/tests/PayPal/Test/Api/TemplateTest.php b/tests/PayPal/Test/Api/TemplateTest.php index 7a25a78..b70eda2 100644 --- a/tests/PayPal/Test/Api/TemplateTest.php +++ b/tests/PayPal/Test/Api/TemplateTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\Template; +use PHPUnit\Framework\TestCase; /** * Class Template * * @package PayPal\Test\Api */ -class TemplateTest extends \PHPUnit_Framework_TestCase +class TemplateTest extends TestCase { /** * Gets Json String of Object Template diff --git a/tests/PayPal/Test/Api/TemplatesTest.php b/tests/PayPal/Test/Api/TemplatesTest.php index 08c370a..43f8c6d 100644 --- a/tests/PayPal/Test/Api/TemplatesTest.php +++ b/tests/PayPal/Test/Api/TemplatesTest.php @@ -7,13 +7,14 @@ use PayPal\Validation\ArgumentValidator; use PayPal\Api\Template; use PayPal\Rest\ApiContext; use PayPal\Api\Templates; +use PHPUnit\Framework\TestCase; /** * Class Templates * * @package PayPal\Test\Api */ -class TemplatesTest extends \PHPUnit_Framework_TestCase +class TemplatesTest extends TestCase { /** * Gets Json String of Object Templates diff --git a/tests/PayPal/Test/Api/TermsTest.php b/tests/PayPal/Test/Api/TermsTest.php index 0c925ab..668e8f0 100644 --- a/tests/PayPal/Test/Api/TermsTest.php +++ b/tests/PayPal/Test/Api/TermsTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Terms; +use PHPUnit\Framework\TestCase; /** * Class Terms * * @package PayPal\Test\Api */ -class TermsTest extends \PHPUnit_Framework_TestCase +class TermsTest extends TestCase { /** * Gets Json String of Object Terms diff --git a/tests/PayPal/Test/Api/TransactionTest.php b/tests/PayPal/Test/Api/TransactionTest.php index e519837..3715f4e 100644 --- a/tests/PayPal/Test/Api/TransactionTest.php +++ b/tests/PayPal/Test/Api/TransactionTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\Transaction; +use PHPUnit\Framework\TestCase; /** * Class Transaction * * @package PayPal\Test\Api */ -class TransactionTest extends \PHPUnit_Framework_TestCase +class TransactionTest extends TestCase { /** * Gets Json String of Object Transaction diff --git a/tests/PayPal/Test/Api/VerifyWebhookSignatureResponseTest.php b/tests/PayPal/Test/Api/VerifyWebhookSignatureResponseTest.php index c7560f2..c8946fc 100644 --- a/tests/PayPal/Test/Api/VerifyWebhookSignatureResponseTest.php +++ b/tests/PayPal/Test/Api/VerifyWebhookSignatureResponseTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\VerifyWebhookSignatureResponse; +use PHPUnit\Framework\TestCase; /** * Class VerifyWebhookSignatureResponse * * @package PayPal\Test\Api */ -class VerifyWebhookSignatureResponseTest extends \PHPUnit_Framework_TestCase +class VerifyWebhookSignatureResponseTest extends TestCase { /** * Gets Json String of Object VerifyWebhookSignatureResponse diff --git a/tests/PayPal/Test/Api/VerifyWebhookSignatureTest.php b/tests/PayPal/Test/Api/VerifyWebhookSignatureTest.php index a422faa..f202631 100644 --- a/tests/PayPal/Test/Api/VerifyWebhookSignatureTest.php +++ b/tests/PayPal/Test/Api/VerifyWebhookSignatureTest.php @@ -7,13 +7,14 @@ use PayPal\Validation\ArgumentValidator; use PayPal\Api\VerifyWebhookSignatureResponse; use PayPal\Rest\ApiContext; use PayPal\Api\VerifyWebhookSignature; +use PHPUnit\Framework\TestCase; /** * Class VerifyWebhookSignature * * @package PayPal\Test\Api */ -class VerifyWebhookSignatureTest extends \PHPUnit_Framework_TestCase +class VerifyWebhookSignatureTest extends TestCase { /** * Gets Json String of Object VerifyWebhookSignature diff --git a/tests/PayPal/Test/Api/WebProfileTest.php b/tests/PayPal/Test/Api/WebProfileTest.php index 66623bc..8f441be 100644 --- a/tests/PayPal/Test/Api/WebProfileTest.php +++ b/tests/PayPal/Test/Api/WebProfileTest.php @@ -3,13 +3,14 @@ namespace PayPal\Test\Api; use PayPal\Api\WebProfile; +use PHPUnit\Framework\TestCase; /** * Class WebProfile * * @package PayPal\Test\Api */ -class WebProfileTest extends \PHPUnit_Framework_TestCase +class WebProfileTest extends TestCase { /** * Gets Json String of Object WebProfile diff --git a/tests/PayPal/Test/Api/WebhookEventListTest.php b/tests/PayPal/Test/Api/WebhookEventListTest.php index 2e47b1f..db08fc7 100644 --- a/tests/PayPal/Test/Api/WebhookEventListTest.php +++ b/tests/PayPal/Test/Api/WebhookEventListTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\WebhookEventList; +use PHPUnit\Framework\TestCase; /** * Class WebhookEventList * * @package PayPal\Test\Api */ -class WebhookEventListTest extends \PHPUnit_Framework_TestCase +class WebhookEventListTest extends TestCase { /** * Gets Json String of Object WebhookEventList diff --git a/tests/PayPal/Test/Api/WebhookEventTest.php b/tests/PayPal/Test/Api/WebhookEventTest.php index 7453dee..cb58ff0 100644 --- a/tests/PayPal/Test/Api/WebhookEventTest.php +++ b/tests/PayPal/Test/Api/WebhookEventTest.php @@ -7,13 +7,14 @@ use PayPal\Validation\ArgumentValidator; use PayPal\Api\WebhookEventList; use PayPal\Rest\ApiContext; use PayPal\Api\WebhookEvent; +use PHPUnit\Framework\TestCase; /** * Class WebhookEvent * * @package PayPal\Test\Api */ -class WebhookEventTest extends \PHPUnit_Framework_TestCase +class WebhookEventTest extends TestCase { /** * Gets Json String of Object WebhookEvent diff --git a/tests/PayPal/Test/Api/WebhookEventTypeListTest.php b/tests/PayPal/Test/Api/WebhookEventTypeListTest.php index 339e1a3..4f3bfda 100644 --- a/tests/PayPal/Test/Api/WebhookEventTypeListTest.php +++ b/tests/PayPal/Test/Api/WebhookEventTypeListTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\WebhookEventTypeList; +use PHPUnit\Framework\TestCase; /** * Class WebhookEventTypeList * * @package PayPal\Test\Api */ -class WebhookEventTypeListTest extends \PHPUnit_Framework_TestCase +class WebhookEventTypeListTest extends TestCase { /** * Gets Json String of Object WebhookEventTypeList diff --git a/tests/PayPal/Test/Api/WebhookEventTypeTest.php b/tests/PayPal/Test/Api/WebhookEventTypeTest.php index 801053b..b138fc2 100644 --- a/tests/PayPal/Test/Api/WebhookEventTypeTest.php +++ b/tests/PayPal/Test/Api/WebhookEventTypeTest.php @@ -7,13 +7,14 @@ use PayPal\Validation\ArgumentValidator; use PayPal\Api\WebhookEventTypeList; use PayPal\Rest\ApiContext; use PayPal\Api\WebhookEventType; +use PHPUnit\Framework\TestCase; /** * Class WebhookEventType * * @package PayPal\Test\Api */ -class WebhookEventTypeTest extends \PHPUnit_Framework_TestCase +class WebhookEventTypeTest extends TestCase { /** * Gets Json String of Object WebhookEventType diff --git a/tests/PayPal/Test/Api/WebhookListTest.php b/tests/PayPal/Test/Api/WebhookListTest.php index 6a16917..96b3f71 100644 --- a/tests/PayPal/Test/Api/WebhookListTest.php +++ b/tests/PayPal/Test/Api/WebhookListTest.php @@ -4,13 +4,14 @@ namespace PayPal\Test\Api; use PayPal\Common\PayPalModel; use PayPal\Api\WebhookList; +use PHPUnit\Framework\TestCase; /** * Class WebhookList * * @package PayPal\Test\Api */ -class WebhookListTest extends \PHPUnit_Framework_TestCase +class WebhookListTest extends TestCase { /** * Gets Json String of Object WebhookList diff --git a/tests/PayPal/Test/Api/WebhookTest.php b/tests/PayPal/Test/Api/WebhookTest.php index e94678e..6065dd2 100644 --- a/tests/PayPal/Test/Api/WebhookTest.php +++ b/tests/PayPal/Test/Api/WebhookTest.php @@ -7,13 +7,14 @@ use PayPal\Validation\ArgumentValidator; use PayPal\Api\WebhookList; use PayPal\Rest\ApiContext; use PayPal\Api\Webhook; +use PHPUnit\Framework\TestCase; /** * Class Webhook * * @package PayPal\Test\Api */ -class WebhookTest extends \PHPUnit_Framework_TestCase +class WebhookTest extends TestCase { /** * Gets Json String of Object Webhook diff --git a/tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php b/tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php index 9317228..1b56b90 100644 --- a/tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php +++ b/tests/PayPal/Test/Auth/OAuthTokenCredentialTest.php @@ -8,8 +8,9 @@ use PayPal\Core\PayPalConfigManager; use PayPal\Rest\ApiContext; use PayPal\Test\Cache\AuthorizationCacheTest; use PayPal\Test\Constants; +use PHPUnit\Framework\TestCase; -class OAuthTokenCredentialTest extends \PHPUnit_Framework_TestCase +class OAuthTokenCredentialTest extends TestCase { /** diff --git a/tests/PayPal/Test/Cache/AuthorizationCacheTest.php b/tests/PayPal/Test/Cache/AuthorizationCacheTest.php index 329fff7..d4284dc 100644 --- a/tests/PayPal/Test/Cache/AuthorizationCacheTest.php +++ b/tests/PayPal/Test/Cache/AuthorizationCacheTest.php @@ -3,12 +3,13 @@ namespace PayPal\Test\Cache; use PayPal\Cache\AuthorizationCache; +use PHPUnit\Framework\TestCase; /** * Test class for AuthorizationCacheTest. * */ -class AuthorizationCacheTest extends \PHPUnit_Framework_TestCase +class AuthorizationCacheTest extends TestCase { const CACHE_FILE = 'tests/var/test.cache'; diff --git a/tests/PayPal/Test/Common/ArrayUtilTest.php b/tests/PayPal/Test/Common/ArrayUtilTest.php index bdd30fe..ec2d034 100644 --- a/tests/PayPal/Test/Common/ArrayUtilTest.php +++ b/tests/PayPal/Test/Common/ArrayUtilTest.php @@ -2,8 +2,9 @@ namespace PayPal\Test\Common; use PayPal\Common\ArrayUtil; +use PHPUnit\Framework\TestCase; -class ArrayUtilTest extends \PHPUnit_Framework_TestCase +class ArrayUtilTest extends TestCase { public function testIsAssocArray() diff --git a/tests/PayPal/Test/Common/FormatConverterTest.php b/tests/PayPal/Test/Common/FormatConverterTest.php index b3c5f83..366b5c1 100644 --- a/tests/PayPal/Test/Common/FormatConverterTest.php +++ b/tests/PayPal/Test/Common/FormatConverterTest.php @@ -10,8 +10,9 @@ use PayPal\Api\Tax; use PayPal\Common\PayPalModel; use PayPal\Converter\FormatConverter; use PayPal\Test\Validation\NumericValidatorTest; +use PHPUnit\Framework\TestCase; -class FormatConverterTest extends \PHPUnit_Framework_TestCase +class FormatConverterTest extends TestCase { public static function classMethodListProvider() diff --git a/tests/PayPal/Test/Common/ModelTest.php b/tests/PayPal/Test/Common/ModelTest.php index 230c80e..42ac8a8 100644 --- a/tests/PayPal/Test/Common/ModelTest.php +++ b/tests/PayPal/Test/Common/ModelTest.php @@ -4,8 +4,9 @@ namespace PayPal\Test\Common; use PayPal\Api\Payment; use PayPal\Common\PayPalModel; use PayPal\Core\PayPalConfigManager; +use PHPUnit\Framework\TestCase; -class ModelTest extends \PHPUnit_Framework_TestCase +class ModelTest extends TestCase { public function testSimpleClassConversion() diff --git a/tests/PayPal/Test/Common/PayPalModelTest.php b/tests/PayPal/Test/Common/PayPalModelTest.php index c67b346..189a490 100644 --- a/tests/PayPal/Test/Common/PayPalModelTest.php +++ b/tests/PayPal/Test/Common/PayPalModelTest.php @@ -1,6 +1,7 @@ 'sandbox', diff --git a/tests/PayPal/Test/Handler/OauthHandlerTest.php b/tests/PayPal/Test/Handler/OauthHandlerTest.php index d4afc2f..0649efb 100644 --- a/tests/PayPal/Test/Handler/OauthHandlerTest.php +++ b/tests/PayPal/Test/Handler/OauthHandlerTest.php @@ -6,8 +6,9 @@ use PayPal\Auth\OAuthTokenCredential; use PayPal\Core\PayPalHttpConfig; use PayPal\Handler\OauthHandler; use PayPal\Rest\ApiContext; +use PHPUnit\Framework\TestCase; -class OauthHandlerTest extends \PHPUnit_Framework_TestCase +class OauthHandlerTest extends TestCase { /** diff --git a/tests/PayPal/Test/Rest/ApiContextTest.php b/tests/PayPal/Test/Rest/ApiContextTest.php index 9869b9d..02b8e7d 100644 --- a/tests/PayPal/Test/Rest/ApiContextTest.php +++ b/tests/PayPal/Test/Rest/ApiContextTest.php @@ -1,12 +1,13 @@