Class GroupOrderEntryPopulatorTest
- java.lang.Object
-
- de.hybris.platform.b2bacceleratorfacades.order.populators.GroupOrderEntryPopulatorTest
-
@UnitTest public class GroupOrderEntryPopulatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_PRODUCT_2_PRICE_RANGE_TESTstatic longMAX_PRICE_RANGE_TESTstatic longMIN_PRICE_RANGE_TESTstatic longTOTAL_PRICE_RANGE_TEST
-
Constructor Summary
Constructors Constructor Description GroupOrderEntryPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderEntryDatacreateOrderEntry(java.lang.String productCode, java.lang.String baseProductCode, java.lang.Long price, java.lang.Long totalPrice)voidsetUp()voidshouldGroupEntries()protected voidvalidatePriceRange(OrderEntryData parentEntry)protected voidvalidateProductInfo(OrderEntryData parentEntry, OrderEntryData firstEntry)
-
-
-
Field Detail
-
MIN_PRICE_RANGE_TEST
public static final long MIN_PRICE_RANGE_TEST
- See Also:
- Constant Field Values
-
MAX_PRICE_RANGE_TEST
public static final long MAX_PRICE_RANGE_TEST
- See Also:
- Constant Field Values
-
BASE_PRODUCT_2_PRICE_RANGE_TEST
public static final java.lang.String BASE_PRODUCT_2_PRICE_RANGE_TEST
- See Also:
- Constant Field Values
-
TOTAL_PRICE_RANGE_TEST
public static final long TOTAL_PRICE_RANGE_TEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp()
-
shouldGroupEntries
public void shouldGroupEntries()
-
validateProductInfo
protected void validateProductInfo(OrderEntryData parentEntry, OrderEntryData firstEntry)
-
validatePriceRange
protected void validatePriceRange(OrderEntryData parentEntry)
-
createOrderEntry
public OrderEntryData createOrderEntry(java.lang.String productCode, java.lang.String baseProductCode, java.lang.Long price, java.lang.Long totalPrice)
-
-