Class AsPromotedFacetValueModelTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.adaptivesearch.integration.model.AsPromotedFacetValueModelTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AsPromotedFacetValueModelTest extends ServicelayerTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException-
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 AsPromotedFacetValueModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclonePromotedFacetValue()voidcreateMultiplePromotedFacetValues()voidcreatePromotedFacetValue()voidcreatePromotedFacetValueWithoutUid()voidfailToCreatePromotedFacetValueWithoutFacetConfiguration()voidfailToCreatePromotedFacetValueWithoutValue()voidfailToCreatePromotedFacetValueWithWrongCatalogVersion()voidgetNonExistingPromotedFacetValue()voidpromotedFacetValueIsNotCorrupted()voidrankAfterPromotedFacetValue()voidrankBeforePromotedFacetValue()voidremovePromotedFacetValue()voidsetUp()voidupdatePromotedFacetValue()-
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 ImpExException- Throws:
ImpExException
-
getNonExistingPromotedFacetValue
public void getNonExistingPromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedFacetValueWithoutUid
public void createPromotedFacetValueWithoutUid() throws java.lang.Exception- Throws:
java.lang.Exception
-
createPromotedFacetValue
public void createPromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetValueWithWrongCatalogVersion
public void failToCreatePromotedFacetValueWithWrongCatalogVersion() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetValueWithoutFacetConfiguration
public void failToCreatePromotedFacetValueWithoutFacetConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
failToCreatePromotedFacetValueWithoutValue
public void failToCreatePromotedFacetValueWithoutValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
createMultiplePromotedFacetValues
public void createMultiplePromotedFacetValues() throws java.lang.Exception- Throws:
java.lang.Exception
-
updatePromotedFacetValue
public void updatePromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
clonePromotedFacetValue
public void clonePromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
removePromotedFacetValue
public void removePromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
promotedFacetValueIsNotCorrupted
public void promotedFacetValueIsNotCorrupted() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankAfterPromotedFacetValue
public void rankAfterPromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
rankBeforePromotedFacetValue
public void rankBeforePromotedFacetValue() throws java.lang.Exception- Throws:
java.lang.Exception
-
-