Class DataHubImpExResourceFactoryUnitTest

java.lang.Object
com.hybris.datahub.core.services.impl.DataHubImpExResourceFactoryUnitTest

@UnitTest public class DataHubImpExResourceFactoryUnitTest extends Object
  • Constructor Details

    • DataHubImpExResourceFactoryUnitTest

      public DataHubImpExResourceFactoryUnitTest()
  • Method Details

    • setUp

      public void setUp()
    • testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned

      public void testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned()
    • testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne

      public void testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne()
    • testThrowsExcpetionWhenNullIsPassedForTheReaderToUse

      public void testThrowsExcpetionWhenNullIsPassedForTheReaderToUse()
    • testUsesExplicitlyAssignedReader

      public void testUsesExplicitlyAssignedReader() throws ImpExException
      Throws:
      ImpExException
    • testThrowsExceptionWhenNullIsPassedToCreateResource

      public void testThrowsExceptionWhenNullIsPassedToCreateResource() throws ImpExException
      Throws:
      ImpExException
    • testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream

      public void testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream() throws IOException, ImpExException
      Throws:
      IOException
      ImpExException
    • testThrowsExceptionWhenFailedToReadFragmentContent

      public void testThrowsExceptionWhenFailedToReadFragmentContent() throws ImpExException, IOException
      Throws:
      ImpExException
      IOException