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}
  • Constructor Details

    • TransportOfferingOriginLocationCityValueProviderTest

      public TransportOfferingOriginLocationCityValueProviderTest()
  • Method Details

    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.PropertyFieldValueProviderTestBase
    • configure

      public void configure()
      Specified by:
      configure in class de.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