Class CurrencyQualifierProviderTest
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.provider.impl.CurrencyQualifierProviderTest
-
@UnitTest public class CurrencyQualifierProviderTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CURRENCY_ISOCODE
org.junit.rules.ExpectedException
expectedException
-
Constructor Summary
Constructors Constructor Description CurrencyQualifierProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyNonValidQualifier()
void
applyQualifier()
void
canApplyWithCurrencyProperty()
void
cannotApplyWithNonCurrencyProperty()
void
getAvailableQualifierForCurrency()
void
getCurrentQualifierForLanguage()
void
getEmptyAvailableQualifiers()
void
getNullCurrentQualifier()
void
getValueForCurrencyModel()
void
getValueForObject()
void
setUp()
void
toFieldQualifier()
-
-
-
Field Detail
-
CURRENCY_ISOCODE
protected static final java.lang.String CURRENCY_ISOCODE
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
setUp
public void setUp()
-
cannotApplyWithNonCurrencyProperty
public void cannotApplyWithNonCurrencyProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
canApplyWithCurrencyProperty
public void canApplyWithCurrencyProperty() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEmptyAvailableQualifiers
public void getEmptyAvailableQualifiers() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAvailableQualifierForCurrency
public void getAvailableQualifierForCurrency() 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
-
getValueForCurrencyModel
public void getValueForCurrencyModel() throws java.lang.Exception
- Throws:
java.lang.Exception
-
toFieldQualifier
public void toFieldQualifier() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-