Class DefaultProcessContextResolutionStrategyTest
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.process.strategies.impl.DefaultProcessContextResolutionStrategyTest
-
@UnitTest public class DefaultProcessContextResolutionStrategyTest extends java.lang.Object
Test class for DefaultProcessContextResolutionStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultProcessContextResolutionStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetCmsShouldNotFailWhenStrategyNotFound()voidgetContentCatalogVersionShouldNotFailWhenStrategyNotFound()voidinitializeShouldNotFailWhenStrategyNotFound()voidsetUp()voidshouldReturnStrategyMappedToSupperTypeWhenExactTypeNotPresent()voidshouldReturnStrategyMappedWhenPresentAvoidingSupperType()voidtestShouldDelegateToMatchingStrategyFromTheMap()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
initializeShouldNotFailWhenStrategyNotFound
public void initializeShouldNotFailWhenStrategyNotFound() throws java.lang.Exception- Throws:
java.lang.Exception
-
getContentCatalogVersionShouldNotFailWhenStrategyNotFound
public void getContentCatalogVersionShouldNotFailWhenStrategyNotFound() throws java.lang.Exception- Throws:
java.lang.Exception
-
getCmsShouldNotFailWhenStrategyNotFound
public void getCmsShouldNotFailWhenStrategyNotFound() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShouldDelegateToMatchingStrategyFromTheMap
public void testShouldDelegateToMatchingStrategyFromTheMap() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnStrategyMappedToSupperTypeWhenExactTypeNotPresent
public void shouldReturnStrategyMappedToSupperTypeWhenExactTypeNotPresent() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnStrategyMappedWhenPresentAvoidingSupperType
public void shouldReturnStrategyMappedWhenPresentAvoidingSupperType() throws java.lang.Exception- Throws:
java.lang.Exception
-
-