Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.messagemapping
Class BackendMessageMapperTest
java.lang.Object
de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
de.hybris.platform.sap.core.jco.test.SapcoreJCoJUnitTest
de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
de.hybris.platform.sap.core.bol.test.SapcorebolSpringJUnitTest
de.hybris.platform.sap.sapordermgmtbol.unittests.base.SapordermanagmentBolSpringJunitTest
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.messagemapping.BackendMessageMapperTest
-
Field Summary
FieldsFields inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
DEFAULT_RELATIVE_RECORDING_DIRECTORY, name, watcherFields inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
genericFactory, sapHybrisSessionProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected BackendMessageMapperImplcutForRules(String xmlFileContent) protected com.sap.conn.jco.JCoRecordvoidsetUp()Standard test setUp method.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
getRecordingAnnotation, getRecordingExtensionName, getRecordingMode, getRelativeRecordingDirectory, testFailed, testSucceededMethods inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
getGenericFactory, tearDownMethods inherited from class de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
getApplicationContext
-
Field Details
-
mc
protected org.easymock.IMocksControl mc
-
-
Constructor Details
-
BackendMessageMapperTest
public BackendMessageMapperTest()
-
-
Method Details
-
setUp
public void setUp()Description copied from class:SapcoretestSpringJUnitTestStandard test setUp method.- Overrides:
setUpin classSapcoreJCoRecJUnitTest
-
cutForRules
-
testSeverityScale
public void testSeverityScale() -
testTypeConverionABAP2Java
public void testTypeConverionABAP2Java() -
mockedRecordForKey
-
testCreateBackendMessage
- Throws:
BackendException
-
testPassMessage
- Throws:
BackendException
-
testTransformBeMessageByRule_ReplaceSeverity
public void testTransformBeMessageByRule_ReplaceSeverity() throws BackendException, SAXException, IOException, SAPHybrisCacheException -
testTransformBeMessageByRule_ReplaceKey
- Throws:
BackendException
-
testTransformBeMessageByRule_ReplaceSeverityAndKey
- Throws:
BackendException
-
createSalesDocWith3Items
protected void createSalesDocWith3Items() -
testFindReferencedBO_messageWithoutKey
- Throws:
BackendException
-
testFindReferencedBO_notFound
- Throws:
BackendException
-
testFindReferencedBO_foundRoot
- Throws:
BackendException
-
testFindReferencedBO_foundChild
- Throws:
BackendException
-
testMap_RuledBeMsgSeverityA
-
testTransformBeMessageByRule_Hide
- Throws:
BackendException
-
testMap_RuledTransformedWarning
-
testMap_NotRuledPassedError
-
testMap_NoRuleFoundAndRemoveWarning
-
testMap_EmptyBeMessage
-
testMap_null_null
-
testBeanInitialization
- Throws:
CommunicationException
-