Class DefaultB2BCommerceCostCenterServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.b2b.company.impl.DefaultB2BCommerceCostCenterServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultB2BCommerceCostCenterServiceIntegrationTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedEx-
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 DefaultB2BCommerceCostCenterServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidshouldGetCostCenterForCode()voidshouldNotGetCostCenterNotExistID()voidshouldNotGetCostCenterNullID()voidshoulGetPagedCostCenters()voidshoulNotGetPagedCostCentersNullAsPageableData()-
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.Exception- Throws:
java.lang.Exception
-
shouldGetCostCenterForCode
public void shouldGetCostCenterForCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotGetCostCenterNotExistID
public void shouldNotGetCostCenterNotExistID() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotGetCostCenterNullID
public void shouldNotGetCostCenterNullID() throws java.lang.Exception- Throws:
java.lang.Exception
-
shoulGetPagedCostCenters
public void shoulGetPagedCostCenters() throws java.lang.Exception- Throws:
java.lang.Exception
-
shoulNotGetPagedCostCentersNullAsPageableData
public void shoulNotGetPagedCostCentersNullAsPageableData() throws java.lang.Exception- Throws:
java.lang.Exception
-
-