Class ProductCsticAndValueParameterProviderCPSImplTest
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.ProductCsticAndValueParameterProviderCPSImplTest
Unit test for
ProductCsticAndValueParameterProviderCPSImpl-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CPSMasterDataCharacteristicContainerprotected CPSMasterDataKnowledgeBaseContainerprotected CPSMasterDataPossibleValuecreateValue(String id, String name) protected voidmockProductModel(ConfiguratorType cpqconfigurator) protected voidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ProductCsticAndValueParameterProviderCPSImplTest
public ProductCsticAndValueParameterProviderCPSImplTest()
-
-
Method Details
-
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
-
mockVariantProductModel
protected void mockVariantProductModel() -
createMasterDataKnowledgeBase
-
createCPSCharacteristic
-
createValue
-