Class DataHubImpExResourceFactoryUnitTest
java.lang.Object
com.hybris.datahub.core.services.impl.DataHubImpExResourceFactoryUnitTest
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataHubImpExResourceFactoryUnitTest
public DataHubImpExResourceFactoryUnitTest()
-
-
Method Details
-
setUp
public void setUp() -
testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned
public void testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned() -
testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne
public void testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne() -
testThrowsExcpetionWhenNullIsPassedForTheReaderToUse
public void testThrowsExcpetionWhenNullIsPassedForTheReaderToUse() -
testUsesExplicitlyAssignedReader
- Throws:
ImpExException
-
testThrowsExceptionWhenNullIsPassedToCreateResource
- Throws:
ImpExException
-
testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream
public void testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream() throws IOException, ImpExException- Throws:
IOExceptionImpExException
-
testThrowsExceptionWhenFailedToReadFragmentContent
- Throws:
ImpExExceptionIOException
-