Class StandardPaymentModeTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.paymentstandard.jalo.StandardPaymentModeTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class StandardPaymentModeTest extends HybrisJUnit4TransactionalTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description StandardPaymentModeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestCode()test Code just to be safevoidtestEquals()test equals, just for funvoidtestGetCost()test setting/getting costs with variated settings for price, tax, netvoidtestGetValues()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 currenciesvoidtestNet()test setting/getting net-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testNet
public void testNet() throws java.lang.Exceptiontest setting/getting net- Throws:
java.lang.Exception
-
testEquals
public void testEquals() throws java.lang.Exceptiontest equals, just for fun- Throws:
java.lang.Exception
-
testCode
public void testCode() throws java.lang.Exceptiontest Code just to be safe- Throws:
java.lang.Exception
-
testGetValues
public void testGetValues() throws java.lang.Exceptioncosts 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:
java.lang.Exception
-
testGetCost
public void testGetCost() throws java.lang.Exceptiontest setting/getting costs with variated settings for price, tax, net- Throws:
java.lang.Exception
-
-