com.retek.component.customerorder
Class CustomerOrderStoredValueCardPaymentTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.customerorder.CustomerOrderApiTestCase
                  extended bycom.retek.component.customerorder.CustomerOrderStoredValueCardPaymentTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerOrderStoredValueCardPaymentTest
extends CustomerOrderApiTestCase


Field Summary
protected  SupplierReturnDisposition systemReturnDisposition
           
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderStoredValueCardPaymentTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAddInvalidSVCPaymentToOrder()
           
 void testAuthorizationMissingAmount()
           
 void testAuthorizationOfZeroAmountAvailable()
           
 void testCancellingOrderAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth()
           
 void testCancellingOrderLineAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth()
           
 void testCancellingOrderLinePreSubmitVoidsParitalSVCPayment()
           
 void testCancellingOrderPreSubmitVoidsSVCAuthorization()
           
 void testCancellingPaymentPreSubmitVoidsSVCAuthorization()
           
 void testCancelOrderLinesAfterSVCApplied()
           
 void testCancelOrderLinesAfterSVCAppliedDoesntVoidRefundStoredValueCards()
           
 void testInvalidAuthorization()
           
 void testInvalidCardTypeAuthorization()
           
 void testStoredValueCardWithCreditCardPaymentHistory()
           
 void testSVCPaymentNotCancellableAfterPersisted()
           
 void testTenderTypeAndGroupForSVCPayment()
           
 void testValidAuthorization()
           
 void testValidAuthorizationWhereCardValueGreaterThenRequestedAmount()
           
 void testValidAuthorizationWhereCardValueLessThenRequestedAmount()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createDirectShipOrder, createOrderLines, createOrderLines, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

systemReturnDisposition

protected SupplierReturnDisposition systemReturnDisposition
Constructor Detail

CustomerOrderStoredValueCardPaymentTest

public CustomerOrderStoredValueCardPaymentTest(java.lang.String name)
Method Detail

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

testValidAuthorization

public void testValidAuthorization()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testValidAuthorizationWhereCardValueGreaterThenRequestedAmount

public void testValidAuthorizationWhereCardValueGreaterThenRequestedAmount()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testValidAuthorizationWhereCardValueLessThenRequestedAmount

public void testValidAuthorizationWhereCardValueLessThenRequestedAmount()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testAuthorizationOfZeroAmountAvailable

public void testAuthorizationOfZeroAmountAvailable()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidAuthorization

public void testInvalidAuthorization()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testAuthorizationMissingAmount

public void testAuthorizationMissingAmount()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testAddInvalidSVCPaymentToOrder

public void testAddInvalidSVCPaymentToOrder()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidCardTypeAuthorization

public void testInvalidCardTypeAuthorization()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testStoredValueCardWithCreditCardPaymentHistory

public void testStoredValueCardWithCreditCardPaymentHistory()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCancellingOrderPreSubmitVoidsSVCAuthorization

public void testCancellingOrderPreSubmitVoidsSVCAuthorization()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCancellingPaymentPreSubmitVoidsSVCAuthorization

public void testCancellingPaymentPreSubmitVoidsSVCAuthorization()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCancellingOrderLinePreSubmitVoidsParitalSVCPayment

public void testCancellingOrderLinePreSubmitVoidsParitalSVCPayment()
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testCancellingOrderLineAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth

public void testCancellingOrderLineAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth()
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCancelOrderLinesAfterSVCApplied

public void testCancelOrderLinesAfterSVCApplied()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCancelOrderLinesAfterSVCAppliedDoesntVoidRefundStoredValueCards

public void testCancelOrderLinesAfterSVCAppliedDoesntVoidRefundStoredValueCards()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCancellingOrderAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth

public void testCancellingOrderAfterSubmitGeneratesNewCreditPaymentAndNoVoidSVCAuth()
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testSVCPaymentNotCancellableAfterPersisted

public void testSVCPaymentNotCancellableAfterPersisted()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testTenderTypeAndGroupForSVCPayment

public void testTenderTypeAndGroupForSVCPayment()
                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28