From c0f3495ee281a8e1fbd2a4252d054c7ca5d285a9 Mon Sep 17 00:00:00 2001 From: brianarnold789 Date: Thu, 7 Dec 2017 16:15:13 -0500 Subject: [PATCH] update imports in cert test cases --- .../com/cnp/sdk/TestCert2AuthEnhanced.java | 11 +++----- .../com/cnp/sdk/TestCert3AuthReversal.java | 22 +++------------- .../java/com/cnp/sdk/TestCert4Echeck.java | 20 +++------------ .../java/com/cnp/sdk/TestCert5Token.java | 25 +++---------------- 4 files changed, 16 insertions(+), 62 deletions(-) diff --git a/src/certificationTest/java/com/cnp/sdk/TestCert2AuthEnhanced.java b/src/certificationTest/java/com/cnp/sdk/TestCert2AuthEnhanced.java index b7f468fc..5f56ef78 100644 --- a/src/certificationTest/java/com/cnp/sdk/TestCert2AuthEnhanced.java +++ b/src/certificationTest/java/com/cnp/sdk/TestCert2AuthEnhanced.java @@ -1,17 +1,14 @@ package com.cnp.sdk; -import static org.junit.Assert.assertEquals; - -import java.io.FileInputStream; -import java.util.Properties; - import com.cnp.sdk.generate.*; import org.junit.BeforeClass; import org.junit.Test; -import com.cnp.sdk.CnpOnline; -import com.cnp.sdk.Configuration; +import java.io.FileInputStream; +import java.util.Properties; + +import static org.junit.Assert.assertEquals; public class TestCert2AuthEnhanced { diff --git a/src/certificationTest/java/com/cnp/sdk/TestCert3AuthReversal.java b/src/certificationTest/java/com/cnp/sdk/TestCert3AuthReversal.java index 0a6bb3c6..9a24025b 100644 --- a/src/certificationTest/java/com/cnp/sdk/TestCert3AuthReversal.java +++ b/src/certificationTest/java/com/cnp/sdk/TestCert3AuthReversal.java @@ -1,28 +1,14 @@ package com.cnp.sdk; -import static org.junit.Assert.assertEquals; +import com.cnp.sdk.generate.*; +import org.junit.BeforeClass; +import org.junit.Test; import java.io.FileInputStream; import java.util.Properties; -import org.junit.BeforeClass; -import org.junit.Test; - -import com.cnp.sdk.CnpOnline; -import com.cnp.sdk.Configuration; -import com.cnp.sdk.generate.AuthReversal; -import com.cnp.sdk.generate.AuthReversalResponse; -import com.cnp.sdk.generate.Authorization; -import com.cnp.sdk.generate.AuthorizationResponse; -import com.cnp.sdk.generate.Capture; -import com.cnp.sdk.generate.CaptureResponse; -import com.cnp.sdk.generate.CardType; -import com.cnp.sdk.generate.Contact; -import com.cnp.sdk.generate.CountryTypeEnum; -import com.cnp.sdk.generate.FraudCheckType; -import com.cnp.sdk.generate.MethodOfPaymentTypeEnum; -import com.cnp.sdk.generate.OrderSourceType; +import static org.junit.Assert.assertEquals; public class TestCert3AuthReversal { diff --git a/src/certificationTest/java/com/cnp/sdk/TestCert4Echeck.java b/src/certificationTest/java/com/cnp/sdk/TestCert4Echeck.java index b4f13cb4..283fa1d5 100644 --- a/src/certificationTest/java/com/cnp/sdk/TestCert4Echeck.java +++ b/src/certificationTest/java/com/cnp/sdk/TestCert4Echeck.java @@ -1,26 +1,14 @@ package com.cnp.sdk; -import static org.junit.Assert.assertEquals; +import com.cnp.sdk.generate.*; +import org.junit.BeforeClass; +import org.junit.Test; import java.io.FileInputStream; import java.util.Properties; -import org.junit.BeforeClass; -import org.junit.Test; - -import com.cnp.sdk.CnpOnline; -import com.cnp.sdk.Configuration; -import com.cnp.sdk.generate.Contact; -import com.cnp.sdk.generate.EcheckAccountTypeEnum; -import com.cnp.sdk.generate.EcheckCredit; -import com.cnp.sdk.generate.EcheckCreditResponse; -import com.cnp.sdk.generate.EcheckSale; -import com.cnp.sdk.generate.EcheckSalesResponse; -import com.cnp.sdk.generate.EcheckType; -import com.cnp.sdk.generate.EcheckVerification; -import com.cnp.sdk.generate.EcheckVerificationResponse; -import com.cnp.sdk.generate.OrderSourceType; +import static org.junit.Assert.assertEquals; public class TestCert4Echeck { diff --git a/src/certificationTest/java/com/cnp/sdk/TestCert5Token.java b/src/certificationTest/java/com/cnp/sdk/TestCert5Token.java index 4d44fa61..0a10e834 100755 --- a/src/certificationTest/java/com/cnp/sdk/TestCert5Token.java +++ b/src/certificationTest/java/com/cnp/sdk/TestCert5Token.java @@ -1,30 +1,13 @@ package com.cnp.sdk; -import static kotlin.text.Typography.registered; -import static org.junit.Assert.assertEquals; +import com.cnp.sdk.generate.*; +import org.junit.BeforeClass; +import org.junit.Test; import java.io.FileInputStream; import java.util.Properties; -import org.junit.BeforeClass; -import org.junit.Test; - -import com.cnp.sdk.CnpOnline; -import com.cnp.sdk.Configuration; -import com.cnp.sdk.generate.Authorization; -import com.cnp.sdk.generate.AuthorizationResponse; -import com.cnp.sdk.generate.CardTokenType; -import com.cnp.sdk.generate.CardType; -import com.cnp.sdk.generate.Contact; -import com.cnp.sdk.generate.EcheckAccountTypeEnum; -import com.cnp.sdk.generate.EcheckForTokenType; -import com.cnp.sdk.generate.EcheckSale; -import com.cnp.sdk.generate.EcheckSalesResponse; -import com.cnp.sdk.generate.EcheckType; -import com.cnp.sdk.generate.MethodOfPaymentTypeEnum; -import com.cnp.sdk.generate.OrderSourceType; -import com.cnp.sdk.generate.RegisterTokenRequestType; -import com.cnp.sdk.generate.RegisterTokenResponse; +import static org.junit.Assert.assertEquals; public class TestCert5Token {