Class AbstractOrderConfigurationPopulatorTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.populator.AbstractOrderConfigurationPopulatorTest
-
- Direct Known Subclasses:
CartConfigurationPopulatorTest
,QuoteConfigurationPopulatorTest
public abstract class AbstractOrderConfigurationPopulatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractOrderConfigurationPopulator
classUnderTest
protected java.util.List<AbstractOrderEntryModel>
entryList
java.lang.Integer
entryNo
static java.lang.Integer
ERROR_COUNT
static int
numberOfErrors
static java.lang.String
PK_VALUE
protected AbstractOrderModel
source
protected AbstractOrderEntryModel
sourceEntry
protected AbstractOrderData
target
protected OrderEntryData
targetEntry
protected java.util.List<OrderEntryData>
targetEntryList
-
Constructor Summary
Constructors Constructor Description AbstractOrderConfigurationPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setup()
void
testCreateConfigurationInfos()
void
testCreateConfigurationInfosException()
void
testWriteToTargetEntry()
void
testWriteToTargetEntryIllegalArgument()
void
testWriteToTargetEntryInconsistent()
void
testWriteToTargetEntrySummaryMapNull()
-
-
-
Field Detail
-
classUnderTest
protected AbstractOrderConfigurationPopulator classUnderTest
-
entryList
protected java.util.List<AbstractOrderEntryModel> entryList
-
targetEntryList
protected java.util.List<OrderEntryData> targetEntryList
-
targetEntry
protected OrderEntryData targetEntry
-
entryNo
public final java.lang.Integer entryNo
-
ERROR_COUNT
public static final java.lang.Integer ERROR_COUNT
-
PK_VALUE
public static final java.lang.String PK_VALUE
- See Also:
- Constant Field Values
-
numberOfErrors
public static final int numberOfErrors
- See Also:
- Constant Field Values
-
source
protected AbstractOrderModel source
-
target
protected AbstractOrderData target
-
sourceEntry
@Mock protected AbstractOrderEntryModel sourceEntry
-
-
Method Detail
-
setup
public void setup()
-
testWriteToTargetEntryIllegalArgument
public void testWriteToTargetEntryIllegalArgument()
-
testWriteToTargetEntry
public void testWriteToTargetEntry()
-
testWriteToTargetEntrySummaryMapNull
public void testWriteToTargetEntrySummaryMapNull()
-
testWriteToTargetEntryInconsistent
public void testWriteToTargetEntryInconsistent()
-
testCreateConfigurationInfos
public void testCreateConfigurationInfos()
-
testCreateConfigurationInfosException
public void testCreateConfigurationInfosException()
-
-