Class OfferGroupHandlerTest
java.lang.Object
de.hybris.platform.travelfacades.ancillary.search.handlers.impl.OfferGroupHandlerTest
Unit test class for OfferGroupHandler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidgiven: TransportOfferings,Category models and no CategoryOptionList.voidgiven: TransportOfferings,Category models and no CategoryOptionList.
-
Constructor Details
-
OfferGroupHandlerTest
public OfferGroupHandlerTest()
-
-
Method Details
-
setUp
public void setUp() -
testPopulateNoCategoryOtions
public void testPopulateNoCategoryOtions()given: TransportOfferings,Category models and no CategoryOptionList. when: there are no CategoryOptions Then: OfferGroups are populated in OfferResponseData without travel restrictions. -
testPopulateWithCategoryOptions
public void testPopulateWithCategoryOptions()given: TransportOfferings,Category models and no CategoryOptionList. when: CategoryOptions are present Then: OfferGroups are populated in OfferResponseData with travel restrictions.
-