Class ItemImportControllerUnitTest

java.lang.Object
com.hybris.datahub.core.rest.controllers.ItemImportControllerUnitTest

@UnitTest public class ItemImportControllerUnitTest extends Object
  • Constructor Details

    • ItemImportControllerUnitTest

      public ItemImportControllerUnitTest()
  • Method Details

    • setUp

      public void setUp()
    • testScheduleImportTaskIsSuccessful

      public void testScheduleImportTaskIsSuccessful() throws IOException
      Throws:
      IOException
    • testResourceClosesTheInputStream

      public void testResourceClosesTheInputStream() throws IOException
      Throws:
      IOException
    • testPoolNameNotProvided

      public void testPoolNameNotProvided() throws IOException
      Throws:
      IOException
    • testPublicationIdNotProvided

      public void testPublicationIdNotProvided() throws IOException
      Throws:
      IOException
    • testCallbackUrlNotProvided

      public void testCallbackUrlNotProvided() throws IOException
      Throws:
      IOException
    • testInputStreamNotProvided

      public void testInputStreamNotProvided() throws IOException
      Throws:
      IOException
    • testResultFromImportFailure

      public void testResultFromImportFailure() throws IOException
      Throws:
      IOException