Class TransportOfferingDestinationLocationCityValueProviderTest
java.lang.Object
de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
de.hybris.platform.travelservices.solr.provider.impl.TransportOfferingDestinationLocationCityValueProviderTest
@UnitTest
public class TransportOfferingDestinationLocationCityValueProviderTest
extends de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
Junit test suite{link TransportOfferingDestinationLocationCityValueProvider}
-
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
-
TransportOfferingDestinationLocationCityValueProviderTest
public TransportOfferingDestinationLocationCityValueProviderTest()
-
-
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
-
testReturnValueWhenTransportOfferingDestinationLocationHasLocationCity
public void testReturnValueWhenTransportOfferingDestinationLocationHasLocationCity() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
testShouldReturnEmptyValueWhenTransportOfferingDestinationLocationIsNotCity
public void testShouldReturnEmptyValueWhenTransportOfferingDestinationLocationIsNotCity() throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-
testShouldReturnValueWhenCityIsNotAtFirstLevelInDestinationTransportFacility
public void testShouldReturnValueWhenCityIsNotAtFirstLevelInDestinationTransportFacility() 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
-