Class ProductCsticAndValueParameterProviderCPSImplTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.impl.ProductCsticAndValueParameterProviderCPSImplTest
-
@UnitTest public class ProductCsticAndValueParameterProviderCPSImplTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProductCsticAndValueParameterProviderCPSImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CPSMasterDataCharacteristicContainercreateCPSCharacteristic()protected CPSMasterDataKnowledgeBaseContainercreateMasterDataKnowledgeBase()protected CPSMasterDataPossibleValuecreateValue(java.lang.String id, java.lang.String name)protected voidmockProductModel(ConfiguratorType cpqconfigurator)protected voidmockVariantProductModel()voidsetUp()voidtestGetCharacteristcs()voidtestGetCharacteristcsWithUnknownKbId()voidtestGetCsticParameters()voidtestGetValuesForCstic()voidtestRetrieveProductCsticsAndValuesParametersCPQConfigurableProduct()voidtestRetrieveProductCsticsAndValuesParametersNotCPQConfigurableProduct()voidtestRetrieveProductCsticsAndValuesParametersUnknownProduct()voidtestRetrieveProductCsticsAndValuesParametersVariantProduct()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGetCharacteristcs
public void testGetCharacteristcs()
-
testGetCharacteristcsWithUnknownKbId
public void testGetCharacteristcsWithUnknownKbId()
-
testGetValuesForCstic
public void testGetValuesForCstic()
-
testGetCsticParameters
public void testGetCsticParameters()
-
testRetrieveProductCsticsAndValuesParametersUnknownProduct
public void testRetrieveProductCsticsAndValuesParametersUnknownProduct()
-
testRetrieveProductCsticsAndValuesParametersCPQConfigurableProduct
public void testRetrieveProductCsticsAndValuesParametersCPQConfigurableProduct()
-
testRetrieveProductCsticsAndValuesParametersNotCPQConfigurableProduct
public void testRetrieveProductCsticsAndValuesParametersNotCPQConfigurableProduct()
-
testRetrieveProductCsticsAndValuesParametersVariantProduct
public void testRetrieveProductCsticsAndValuesParametersVariantProduct()
-
mockProductModel
protected void mockProductModel(ConfiguratorType cpqconfigurator)
-
mockVariantProductModel
protected void mockVariantProductModel()
-
createMasterDataKnowledgeBase
protected CPSMasterDataKnowledgeBaseContainer createMasterDataKnowledgeBase()
-
createCPSCharacteristic
protected CPSMasterDataCharacteristicContainer createCPSCharacteristic()
-
createValue
protected CPSMasterDataPossibleValue createValue(java.lang.String id, java.lang.String name)
-
-