Class DataHubImpExResourceFactoryUnitTest


  • @UnitTest
    public class DataHubImpExResourceFactoryUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DataHubImpExResourceFactoryUnitTest

        public DataHubImpExResourceFactoryUnitTest()
    • Method Detail

      • setUp

        public void setUp()
      • testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned

        public void testNoDefaultReaderIsSetWhenNoReaderWasExplicitlyAssigned()
      • testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne

        public void testFragmentReaderCanBeSpecifiedInsteadOfUsingTheDefaultOne()
      • testThrowsExcpetionWhenNullIsPassedForTheReaderToUse

        public void testThrowsExcpetionWhenNullIsPassedForTheReaderToUse()
      • testCreatesAnInputStreamThatReadsAllFragmentsSequentiallyFromOriginalInputStream

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

        public void testThrowsExceptionWhenFailedToReadFragmentContent()
                                                                throws ImpExException,
                                                                       java.io.IOException
        Throws:
        ImpExException
        java.io.IOException