Class LanguageQualifierProviderTest
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.provider.impl.LanguageQualifierProviderTest
-
@UnitTest public class LanguageQualifierProviderTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
expectedException
protected static java.lang.String
LANGUAGE_ISOCODE
-
Constructor Summary
Constructors Constructor Description LanguageQualifierProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyNonValidQualifier()
void
applyQualifier()
void
canApplyWithLocalizedProperty()
void
cannotApplyWithNonLocalizedProperty()
void
getAvailableQualifierForLanguage()
void
getCurrentQualifierForLanguage()
void
getEmptyAvailableQualifiers()
void
getNullCurrentQualifier()
void
getValueForLanguageModel()
void
getValueForLocale()
void
getValueForObject()
void
setUp()
void
toFieldQualifier()
-
-
-
Field Detail
-
LANGUAGE_ISOCODE
protected static final java.lang.String LANGUAGE_ISOCODE
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
setUp
public void setUp()
-
cannotApplyWithNonLocalizedProperty
public void cannotApplyWithNonLocalizedProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
canApplyWithLocalizedProperty
public void canApplyWithLocalizedProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEmptyAvailableQualifiers
public void getEmptyAvailableQualifiers() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAvailableQualifierForLanguage
public void getAvailableQualifierForLanguage() throws java.lang.Exception
- Throws:
java.lang.Exception
-
applyNonValidQualifier
public void applyNonValidQualifier() throws java.lang.Exception
- Throws:
java.lang.Exception
-
applyQualifier
public void applyQualifier() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getNullCurrentQualifier
public void getNullCurrentQualifier() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getCurrentQualifierForLanguage
public void getCurrentQualifierForLanguage() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getValueForObject
public void getValueForObject() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getValueForLanguageModel
public void getValueForLanguageModel() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getValueForLocale
public void getValueForLocale() throws java.lang.Exception
- Throws:
java.lang.Exception
-
toFieldQualifier
public void toFieldQualifier() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-