Package de.hybris.platform.order
Class TaxServiceTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class TaxServiceTest extends ServicelayerTransactionalTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description TaxServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()Creates the core data, and two taxes.voidtestGetTax()Tries to search the tax with code: successful with "VAT_FULL", caught UnknownIdentifierException with "No_Such_Tax", found two taxes, that both contains "VAT".-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
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.ExceptionCreates the core data, and two taxes.- Throws:
java.lang.Exception
-
testGetTax
public void testGetTax()
Tries to search the tax with code:- successful with "VAT_FULL",
- caught UnknownIdentifierException with "No_Such_Tax",
- found two taxes, that both contains "VAT".
-
-