Class Y2C4CB2BTicketPopulatorTest
java.lang.Object
de.hybris.platform.customerticketingc4cb2bintegration.converters.populators.Y2C4CB2BTicketPopulatorTest
Test cases for
Y2C4CB2BTicketPopulator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()Setup.voidShould not populate the customer id when is B2C.voidShould populate the customer id when equals 10 length.voidShould populate the customer id when less than 10 length.voidShould populate the customer id when more than 10 length.
-
Constructor Details
-
Y2C4CB2BTicketPopulatorTest
public Y2C4CB2BTicketPopulatorTest()
-
-
Method Details
-
setup
public void setup()Setup. -
shouldPopulateWhenCustomerExternalIdLessThan10Length
public void shouldPopulateWhenCustomerExternalIdLessThan10Length()Should populate the customer id when less than 10 length. -
shouldPopulateWhenCustomerExternalIdEqualTo10Length
public void shouldPopulateWhenCustomerExternalIdEqualTo10Length()Should populate the customer id when equals 10 length. -
shouldPopulateWhenCustomerExternalIdMoreThan10Length
public void shouldPopulateWhenCustomerExternalIdMoreThan10Length()Should populate the customer id when more than 10 length. -
shouldNotPopulateB2C
public void shouldNotPopulateB2C()Should not populate the customer id when is B2C.
-