Class DataHubImpExResourceFactoryUnitTest
- java.lang.Object
-
- com.hybris.datahub.core.services.impl.DataHubImpExResourceFactoryUnitTest
-
@UnitTest public class DataHubImpExResourceFactoryUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataHubImpExResourceFactoryUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream()voidtestFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne()voidtestNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned()voidtestThrowsExceptionWhenFailedToReadFragmentContent()voidtestThrowsExcpetionWhenNullIsPassedForTheReaderToUse()voidtestUsesExplicitlyAssignedReader()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned
public void testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned()
-
testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne
public void testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne()
-
testThrowsExcpetionWhenNullIsPassedForTheReaderToUse
public void testThrowsExcpetionWhenNullIsPassedForTheReaderToUse()
-
testUsesExplicitlyAssignedReader
public void testUsesExplicitlyAssignedReader() throws ImpExException- Throws:
ImpExException
-
testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream
public void testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream() throws java.io.IOException, ImpExException- Throws:
java.io.IOExceptionImpExException
-
testThrowsExceptionWhenFailedToReadFragmentContent
public void testThrowsExceptionWhenFailedToReadFragmentContent() throws ImpExException, java.io.IOException- Throws:
ImpExExceptionjava.io.IOException
-
-