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 AbstractOrderConfigurationPopulatorclassUnderTestprotected java.util.List<AbstractOrderEntryModel>entryListjava.lang.IntegerentryNostatic java.lang.IntegerERROR_COUNTstatic intnumberOfErrorsstatic java.lang.StringPK_VALUEprotected AbstractOrderModelsourceprotected AbstractOrderEntryModelsourceEntryprotected AbstractOrderDatatargetprotected OrderEntryDatatargetEntryprotected java.util.List<OrderEntryData>targetEntryList
-
Constructor Summary
Constructors Constructor Description AbstractOrderConfigurationPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestCreateConfigurationInfos()voidtestCreateConfigurationInfosException()voidtestWriteToTargetEntry()voidtestWriteToTargetEntryIllegalArgument()voidtestWriteToTargetEntryInconsistent()voidtestWriteToTargetEntrySummaryMapNull()
-
-
-
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()
-
-