Class StandardPaymentModeTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class StandardPaymentModeTest extends HybrisJUnit4TransactionalTest
  • Constructor Details

    • StandardPaymentModeTest

      public StandardPaymentModeTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testNet

      public void testNet() throws Exception
      test setting/getting net
      Throws:
      Exception
    • testEquals

      public void testEquals() throws Exception
      test equals, just for fun
      Throws:
      Exception
    • testCode

      public void testCode() throws Exception
      test Code just to be safe
      Throws:
      Exception
    • testGetValues

      public void testGetValues() throws Exception
      costs are saved in StandardPaymentValue-Objects whose cost/currencies are returned costs are added with setCost() and removed with removeCost(), and getValues==getAllCosts will be modified after fix of bug 393: getCosts enabled to convert currencies
      Throws:
      Exception
    • testGetCost

      public void testGetCost() throws Exception
      test setting/getting costs with variated settings for price, tax, net
      Throws:
      Exception