Class DefaultFragmentReaderUnitTest
java.lang.Object
com.hybris.datahub.core.services.impl.DefaultFragmentReaderUnitTest
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultFragmentReaderUnitTest
public DefaultFragmentReaderUnitTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
testSplitsImpexScriptIntoLogicalBlocks
- Throws:
ImpExException
-
testPreservesTheOrderOfTheFragmentsAsInTheOriginalScript
- Throws:
ImpExException
-
testInjectFacadeIntoTheDataFragment
- Throws:
ImpExException
-
testImportErrorIsCreatedWhenMacroFragmentCannotBeRed
public void testImportErrorIsCreatedWhenMacroFragmentCannotBeRed() throws ImpExException, IOException- Throws:
ImpExExceptionIOException
-
testValidationErrorIsAddedToContext
- Throws:
ImpExException
-
testDataHubDataFragmentIsNotIncludedInFragmentsListWhenItContainsAnInvalidHeader
public void testDataHubDataFragmentIsNotIncludedInFragmentsListWhenItContainsAnInvalidHeader() throws ImpExException- Throws:
ImpExException
-
testThrowsExceptionWhenNullItemImportTaskDataIsPassedToReadScriptFragments
public void testThrowsExceptionWhenNullItemImportTaskDataIsPassedToReadScriptFragments() throws ImpExException- Throws:
ImpExException
-
testThrowsExceptionWhenNullImpexMetaDataIsPassedToReadScriptFragments
public void testThrowsExceptionWhenNullImpexMetaDataIsPassedToReadScriptFragments() throws ImpExException- Throws:
ImpExException
-