Class GroupOrderConsignmentEntryPopulatorTest
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulatorTest
-
- de.hybris.platform.commercefacades.order.converters.populator.GroupOrderConsignmentEntryPopulatorTest
-
@UnitTest public class GroupOrderConsignmentEntryPopulatorTest extends GroupOrderEntryPopulatorTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_PRODUCT_CODEprotected GroupOrderConsignmentEntryPopulatorpopulatorstatic longQTY_1static longQTY_2static longQTY_3static longQTY_4static longQTY_5static longSHIPPED_QTY_1static longSHIPPED_QTY_2static longSHIPPED_QTY_3static longSHIPPED_QTY_4static longSHIPPED_QTY_5-
Fields inherited from class de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulatorTest
BASE_PRODUCT_2_PRICE_RANGE_TEST, MAX_PRICE_RANGE_TEST, MIN_PRICE_RANGE_TEST, TOTAL_PRICE_RANGE_TEST
-
-
Constructor Summary
Constructors Constructor Description GroupOrderConsignmentEntryPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConsignmentEntryDatacreateConsignmentEntryData(long quantity, long shippedQuantity, OrderEntryData orderEntry)voidsetUp()voidshouldGroupEntries()protected EntryGroupDatawrapIntoEntryGroup(OrderEntryData entry, int groupNumber)-
Methods inherited from class de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulatorTest
createEntryGroupData, createOrderEntry, shouldGroupEntriesWithEntryGroups, validatePriceRange, validateProductInfo
-
-
-
-
Field Detail
-
BASE_PRODUCT_CODE
public static final java.lang.String BASE_PRODUCT_CODE
- See Also:
- Constant Field Values
-
QTY_1
public static final long QTY_1
- See Also:
- Constant Field Values
-
QTY_2
public static final long QTY_2
- See Also:
- Constant Field Values
-
QTY_3
public static final long QTY_3
- See Also:
- Constant Field Values
-
QTY_4
public static final long QTY_4
- See Also:
- Constant Field Values
-
QTY_5
public static final long QTY_5
- See Also:
- Constant Field Values
-
SHIPPED_QTY_1
public static final long SHIPPED_QTY_1
- See Also:
- Constant Field Values
-
SHIPPED_QTY_2
public static final long SHIPPED_QTY_2
- See Also:
- Constant Field Values
-
SHIPPED_QTY_3
public static final long SHIPPED_QTY_3
- See Also:
- Constant Field Values
-
SHIPPED_QTY_4
public static final long SHIPPED_QTY_4
- See Also:
- Constant Field Values
-
SHIPPED_QTY_5
public static final long SHIPPED_QTY_5
- See Also:
- Constant Field Values
-
populator
@InjectMocks protected GroupOrderConsignmentEntryPopulator populator
-
-
Method Detail
-
setUp
public void setUp()
- Overrides:
setUpin classGroupOrderEntryPopulatorTest
-
shouldGroupEntries
public void shouldGroupEntries()
- Overrides:
shouldGroupEntriesin classGroupOrderEntryPopulatorTest
-
createConsignmentEntryData
protected ConsignmentEntryData createConsignmentEntryData(long quantity, long shippedQuantity, OrderEntryData orderEntry)
-
wrapIntoEntryGroup
protected EntryGroupData wrapIntoEntryGroup(OrderEntryData entry, int groupNumber)
-
-