Class Y2C4CB2BTicketPopulatorTest
- java.lang.Object
-
- de.hybris.platform.customerticketingc4cb2bintegration.converters.populators.Y2C4CB2BTicketPopulatorTest
-
@UnitTest public class Y2C4CB2BTicketPopulatorTest extends java.lang.ObjectTest cases forY2C4CB2BTicketPopulator.
-
-
Constructor Summary
Constructors Constructor Description Y2C4CB2BTicketPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()Setup.voidshouldNotPopulateB2C()Should not populate the customer id when is B2C.voidshouldPopulateWhenCustomerExternalIdEqualTo10Length()Should populate the customer id when equals 10 length.voidshouldPopulateWhenCustomerExternalIdLessThan10Length()Should populate the customer id when less than 10 length.voidshouldPopulateWhenCustomerExternalIdMoreThan10Length()Should populate the customer id when more than 10 length.
-
-
-
Method Detail
-
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.
-
-