Class RemoveLastLanguageInterceptorTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.i18n.interceptors.RemoveLastLanguageInterceptorTest
-
@UnitTest public class RemoveLastLanguageInterceptorTest extends java.lang.Object
Test covering theRemoveLastLanguageInterceptorlogic.
-
-
Constructor Summary
Constructors Constructor Description RemoveLastLanguageInterceptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestRemoveInterceptorLanguageModelImPossible0()Case when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 0voidtestRemoveInterceptorLanguageModelImPossible1()Case when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 1voidtestRemoveInterceptorLanguageModelImPossibleBorderCondition()Border condition when theFlexibleSearchService.search(FlexibleSearchQuery)return nullvoidtestRemoveInterceptorLanguageModelPossible()Case when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 100voidtestRemoveInterceptorNoLanguageModel()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testRemoveInterceptorNoLanguageModel
public void testRemoveInterceptorNoLanguageModel() throws InterceptorException- Throws:
InterceptorException
-
testRemoveInterceptorLanguageModelPossible
public void testRemoveInterceptorLanguageModelPossible() throws InterceptorExceptionCase when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 100- Throws:
InterceptorException
-
testRemoveInterceptorLanguageModelImPossible1
public void testRemoveInterceptorLanguageModelImPossible1() throws InterceptorExceptionCase when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 1- Throws:
InterceptorException
-
testRemoveInterceptorLanguageModelImPossible0
public void testRemoveInterceptorLanguageModelImPossible0() throws InterceptorExceptionCase when theFlexibleSearchService.search(FlexibleSearchQuery)returns as result 0- Throws:
InterceptorException
-
testRemoveInterceptorLanguageModelImPossibleBorderCondition
public void testRemoveInterceptorLanguageModelImPossibleBorderCondition() throws InterceptorExceptionBorder condition when theFlexibleSearchService.search(FlexibleSearchQuery)return null- Throws:
InterceptorException
-
-