Class TransportOfferingOriginLocationCityValueProviderTest
java.lang.Object
de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
de.hybris.platform.travelservices.solr.provider.impl.TransportOfferingOriginLocationCityValueProviderTest
@UnitTest
public class TransportOfferingOriginLocationCityValueProviderTest
extends de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
Junit test suite{link TransportOfferingOriginLocationCityValueProvider}
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
commonI18NService, deLanguageModel, deLocale, enLanguageModel, enLocale, i18nService, indexConfig, localeService, modelService, nullString, TEST_DE_LANG_CODE, TEST_EN_LANG_CODE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
configureBase, getPropertyFieldValueProvider, setPropertyFieldValueProvider
-
Constructor Details
-
TransportOfferingOriginLocationCityValueProviderTest
public TransportOfferingOriginLocationCityValueProviderTest()
-
-
Method Details
-
getPropertyName
- Specified by:
getPropertyNamein classde.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
-
configure
public void configure()- Specified by:
configurein classde.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
-
testReturnDestinationLocationWhenTransportOfferingHasLocationCity
public void testReturnDestinationLocationWhenTransportOfferingHasLocationCity() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
testShouldReturnEmptyValueWhenTransportOfferingOriginLocationIsNotCity
public void testShouldReturnEmptyValueWhenTransportOfferingOriginLocationIsNotCity() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
testShouldReturnValueWhenCityIsNotAtFirstLevelInOriginTransportFacility
public void testShouldReturnValueWhenCityIsNotAtFirstLevelInOriginTransportFacility() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
notInstanceOfTransportOfferingModelTest
public void notInstanceOfTransportOfferingModelTest() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-