Class ConfigurationProviderMockImplTest
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.mock.provider.impl.ConfigurationProviderMockImplTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ConfigurationProviderMockImplTest
public ConfigurationProviderMockImplTest()
-
-
Method Details
-
setUp
public void setUp() -
testCreateConfigMockForVariant
public void testCreateConfigMockForVariant() -
testNullKB
public void testNullKB() -
testKBWithNullName
public void testKBWithNullName() -
testBuildNumberFilled
public void testBuildNumberFilled() -
testKBWithEmptyName
public void testKBWithEmptyName() -
testGettingMultipleConfigsCorrectlyBasedOnConfigId
public void testGettingMultipleConfigsCorrectlyBasedOnConfigId() throws ConfigurationEngineException- Throws:
ConfigurationEngineException
-
testGetExternalConfigNotNull
- Throws:
ConfigurationEngineException
-
testGetExternalConfigExceptionForInvalidConfigId
- Throws:
ConfigurationEngineException
-
testGetExternalConfigExceptionForUnknownConfigId
- Throws:
ConfigurationEngineException
-
testGetExternalConfigWellformed
public void testGetExternalConfigWellformed() throws ParserConfigurationException, SAXException, IOException, ConfigurationEngineException -
testRetrieveExternalConfiguration
public void testRetrieveExternalConfiguration() throws ParserConfigurationException, SAXException, IOException, ConfigurationEngineException -
testRetrieveExternalConfigurationNonExistingRTVersion
public void testRetrieveExternalConfigurationNonExistingRTVersion() throws ParserConfigurationException, SAXException, IOException, ConfigurationEngineException -
testCreateConfigurationFromExternalSource
- Throws:
ConfigurationEngineException
-
testCreateDefaultMockConfiguration
public void testCreateDefaultMockConfiguration() -
testGetAllValuePricesForAssignedValuesNoValuePrices
public void testGetAllValuePricesForAssignedValuesNoValuePrices() -
testGetAllValuePricesForAssignedValues
public void testGetAllValuePricesForAssignedValues() -
testIncrementVersion
public void testIncrementVersion() -
testChangeConfiguration
- Throws:
ConfigurationEngineException
-
testRetrieveWillGiveCorrectVersionId
- Throws:
ConfigurationEngineException
-
testGetProductModel
- Throws:
ConfigurationEngineException
-
testGetProductModelNotAvailable
- Throws:
ConfigurationEngineException
-