Class EntitlementValueProviderTest
- java.lang.Object
-
- de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
-
- de.hybris.platform.entitlementservices.search.solrfacetsearch.provider.impl.EntitlementValueProviderTest
-
public class EntitlementValueProviderTest extends PropertyFieldValueProviderTestBase
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENTITLEMENT_IDorg.junit.rules.ExpectedExceptionthrown-
Fields inherited from class de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
commonI18NService, deLanguageModel, deLocale, enLanguageModel, enLocale, fieldNameProvider, i18nService, indexConfig, localeService, modelService, nullString, TEST_DE_LANG_CODE, TEST_EN_LANG_CODE
-
-
Constructor Summary
Constructors Constructor Description EntitlementValueProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()protected java.lang.StringgetPropertyName()voidsetUp()voidshouldReturnFormattedQuantity()voidshouldReturnUnlimitedQuantity()voidshouldSkipForeignEntitlements()voidtestInvalidArgs()-
Methods inherited from class de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
configureBase, getPropertyFieldValueProvider, setPropertyFieldValueProvider
-
-
-
-
Field Detail
-
ENTITLEMENT_ID
public static final java.lang.String ENTITLEMENT_ID
- See Also:
- Constant Field Values
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Method Detail
-
setUp
public void setUp()
-
getPropertyName
protected java.lang.String getPropertyName()
- Specified by:
getPropertyNamein classPropertyFieldValueProviderTestBase
-
configure
protected void configure()
- Specified by:
configurein classPropertyFieldValueProviderTestBase
-
shouldReturnUnlimitedQuantity
public void shouldReturnUnlimitedQuantity() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
shouldReturnFormattedQuantity
public void shouldReturnFormattedQuantity() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
testInvalidArgs
public void testInvalidArgs() throws FieldValueProviderException- Throws:
FieldValueProviderException
-
shouldSkipForeignEntitlements
public void shouldSkipForeignEntitlements()
-
-