Class ConfigurationProviderMockImplTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.mock.provider.impl.ConfigurationProviderMockImplTest
-
@UnitTest public class ConfigurationProviderMockImplTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationProviderMockImplprovider
-
Constructor Summary
Constructors Constructor Description ConfigurationProviderMockImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBuildNumberFilled()voidtestCreateConfigurationFromExternalSource()voidtestCreateDefaultMockConfiguration()voidtestGetExternalConfigExceptionForUnknownConfigId()voidtestGetExternalConfigNotNull()voidtestGetExternalConfigWellformed()voidtestGettingMultipleConfigsCorrectlyBasedOnConfigId()voidtestKBWithEmptyName()voidtestKBWithNullName()voidtestNullKB()voidtestRetrieveExternalConfiguration()
-
-
-
Field Detail
-
provider
protected ConfigurationProviderMockImpl provider
-
-
Method Detail
-
setUp
public void setUp()
-
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
public void testGetExternalConfigNotNull() throws ConfigurationEngineException- Throws:
ConfigurationEngineException
-
testGetExternalConfigExceptionForUnknownConfigId
public void testGetExternalConfigExceptionForUnknownConfigId() throws ConfigurationEngineException- Throws:
ConfigurationEngineException
-
testGetExternalConfigWellformed
public void testGetExternalConfigWellformed() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, ConfigurationEngineException- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionConfigurationEngineException
-
testRetrieveExternalConfiguration
public void testRetrieveExternalConfiguration() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, ConfigurationEngineException- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionConfigurationEngineException
-
testCreateConfigurationFromExternalSource
public void testCreateConfigurationFromExternalSource() throws ConfigurationEngineException- Throws:
ConfigurationEngineException
-
testCreateDefaultMockConfiguration
public void testCreateDefaultMockConfiguration()
-
-