Class TicketCartsAssociationStrategyTest
java.lang.Object
de.hybris.platform.customerticketingfacades.strategies.TicketCartsAssociationStrategyTest
Test case for TicketCartsAssociationStrategy class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()voidsetup()Test setup.voidShould return an map which have 2 TicketAssociatedData with Cart key.voidShould return an empty map when given user model dose not have any carts.voidTest case for the ticketCartAssociationStrategy conveter getter.
-
Constructor Details
-
TicketCartsAssociationStrategyTest
public TicketCartsAssociationStrategyTest()
-
-
Method Details
-
setup
public void setup()Test setup. -
cleanUp
- Throws:
Exception
-
shouldReturnEmptyMapWhenNoCarts
public void shouldReturnEmptyMapWhenNoCarts()Should return an empty map when given user model dose not have any carts. -
shouldReturnCartObjectMap
public void shouldReturnCartObjectMap()Should return an map which have 2 TicketAssociatedData with Cart key. -
testGetter
public void testGetter()Test case for the ticketCartAssociationStrategy conveter getter.
-