public class PaymentTest extends ServicelayerTest
| Modifier and Type | Class and Description |
|---|---|
class |
PaymentTest.MockTransactionCodeGenerator |
importServicejaloSession| Constructor and Description |
|---|
PaymentTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCoreData() |
static void |
createDefaultCatalog() |
void |
createOrder() |
static void |
prepare() |
void |
setUp() |
void |
tearDown() |
void |
testAuthorization() |
void |
testAuthorizationReviewStatus() |
void |
testAuthorizeWithCode() |
void |
testAuthorizeWithTransaction() |
void |
testCapture() |
void |
testCreateSubscriptionWithoutAuth() |
void |
testFailedAuthorization() |
void |
testPaymentInfoCreation() |
void |
testSubscriptionOperations() |
createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static void prepare()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
public static void createCoreData()
throws java.lang.Exception
java.lang.Exceptionpublic static void createDefaultCatalog()
throws java.lang.Exception
java.lang.Exceptionpublic void createOrder()
throws InvalidCartException,
java.lang.Exception
InvalidCartExceptionjava.lang.Exceptionpublic void testAuthorization()
public void testFailedAuthorization()
public void testAuthorizationReviewStatus()
public void testPaymentInfoCreation()
public void testAuthorizeWithCode()
throws InvalidCartException
InvalidCartExceptionpublic void testAuthorizeWithTransaction()
throws InvalidCartException
InvalidCartExceptionpublic void testCapture()
throws InvalidCartException,
CalculationException
public void testSubscriptionOperations()
throws InvalidCartException
InvalidCartExceptionpublic void testCreateSubscriptionWithoutAuth()
throws InvalidCartException
InvalidCartExceptionCopyright © 2018 SAP SE. All Rights Reserved.