Class DefaultAlipayPaymentServiceTest
- java.lang.Object
-
- de.hybris.platform.chinesepspalipayservices.payment.DefaultAlipayPaymentServiceTest
-
@UnitTest public class DefaultAlipayPaymentServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultAlipayPaymentServiceTest()
-
Method Summary
-
-
-
Method Detail
-
prepare
public void prepare()
-
testCreateAlipayRefundRequestDataByOrderSuccessfully
public void testCreateAlipayRefundRequestDataByOrderSuccessfully()
-
testCreateAlipayRefundRequestDataByOrderWithUnpaidOrder
public void testCreateAlipayRefundRequestDataByOrderWithUnpaidOrder()
-
testHandleNotificationwithinValidResponse
public void testHandleNotificationwithinValidResponse()
-
testGetUrlEncodePattern
public void testGetUrlEncodePattern()
-
testGetPspLogoUrl
public void testGetPspLogoUrl()
-
testUnifyRequestParameterValue
public void testUnifyRequestParameterValue()
-
testConvertKey2CamelCase
public void testConvertKey2CamelCase()
-
testGetOrderModelByCode
public void testGetOrderModelByCode()
-
testSetPaymentInfo
public void testSetPaymentInfo()
-
testHandleReturnInfo
public void testHandleReturnInfo() throws java.io.IOException- Throws:
java.io.IOException
-
testCreateAlipayCancelPaymentRequestDataByOrder
public void testCreateAlipayCancelPaymentRequestDataByOrder()
-
testCreateAlipayPaymentStatusRequestDataByOrder
public void testCreateAlipayPaymentStatusRequestDataByOrder()
-
testCancelPaymentOnPaidStatus
public void testCancelPaymentOnPaidStatus()
-
testCancelPaymentOnNotPaidStatus
public void testCancelPaymentOnNotPaidStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSyncPaymentStatus
public void testSyncPaymentStatus() throws java.lang.Exception- Throws:
java.lang.Exception
-
testHandleSyncResponse
public void testHandleSyncResponse() throws java.io.IOException- Throws:
java.io.IOException
-
testHandleErrorResponse
public void testHandleErrorResponse()
-
testHandleAsyncResponseDirectNotify
public void testHandleAsyncResponseDirectNotify() throws java.io.IOException- Throws:
java.io.IOException
-
testHandleAsyncResponseErrorNotify
public void testHandleAsyncResponseErrorNotify() throws java.io.IOException- Throws:
java.io.IOException
-
testHandleAsyncResponseRefundNotify
public void testHandleAsyncResponseRefundNotify() throws java.io.IOException- Throws:
java.io.IOException
-
testGetPaymentRequestUrl
public void testGetPaymentRequestUrl() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetRefundRequestUrl
public void testGetRefundRequestUrl() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCreateAlipayDirectPayRequestDataByOrderDirectpay
public void testCreateAlipayDirectPayRequestDataByOrderDirectpay()
-
testCreateAlipayDirectPayRequestDataByOrderNonDirectpay
public void testCreateAlipayDirectPayRequestDataByOrderNonDirectpay()
-
-