Package de.hybris.platform.product.daos
Class UnitDaoTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class UnitDaoTest extends ServicelayerTransactionalTest
Tests UnitDao
-
-
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 UnitDaoTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestFindAllUnits()voidtestFindAllUnitTypes()voidtestFindUnitByCode()voidtestFindUnitByCodeWhenCodeIsNull()voidtestFindUnitByCodeWhenNoResults()voidtestFindUnitsByUnitType()-
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
-
testFindAllUnits
public void testFindAllUnits() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindAllUnitTypes
public void testFindAllUnitTypes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindUnitByCode
public void testFindUnitByCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindUnitByCodeWhenCodeIsNull
public void testFindUnitByCodeWhenCodeIsNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindUnitByCodeWhenNoResults
public void testFindUnitByCodeWhenNoResults() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindUnitsByUnitType
public void testFindUnitsByUnitType() throws java.lang.Exception- Throws:
java.lang.Exception
-
-