Class FragmentedImpExInputStreamUnitTest

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

public class FragmentedImpExInputStreamUnitTest extends Object
  • Constructor Details

    • FragmentedImpExInputStreamUnitTest

      public FragmentedImpExInputStreamUnitTest()
  • Method Details

    • testReadsDataFromFragments

      public void testReadsDataFromFragments() throws IOException
      Throws:
      IOException
    • testHandlesNoDataInSomeFragments

      public void testHandlesNoDataInSomeFragments() throws IOException
      Throws:
      IOException
    • testHandlesNoDataInAllFragments

      public void testHandlesNoDataInAllFragments() throws IOException
      Throws:
      IOException
    • testReadDataWithNoFragments

      public void testReadDataWithNoFragments() throws IOException
      Throws:
      IOException
    • testHandlesNullForTheFragments

      public void testHandlesNullForTheFragments() throws IOException
      Throws:
      IOException
    • testClosesFragmentInputStreamBeforeReadingNextOne

      public void testClosesFragmentInputStreamBeforeReadingNextOne() throws IOException
      Throws:
      IOException
    • testClosesAllFragmentStreamsWhenReadingIsDone

      public void testClosesAllFragmentStreamsWhenReadingIsDone() throws IOException
      Throws:
      IOException
    • testCannotBeReadAfterClosing

      public void testCannotBeReadAfterClosing() throws IOException
      Throws:
      IOException
    • testMarkNotSupported

      public void testMarkNotSupported() throws IOException
      Throws:
      IOException
    • testAvailableBeforeReadingIsDone

      public void testAvailableBeforeReadingIsDone() throws IOException
      Throws:
      IOException
    • testAvailableAfterReadingStarted

      public void testAvailableAfterReadingStarted() throws IOException
      Throws:
      IOException
    • testSkipsBytes

      public void testSkipsBytes() throws IOException
      Throws:
      IOException