Class ConstantTextFragmentUnitTest

java.lang.Object
com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest<ConstantTextFragment>
com.hybris.datahub.core.services.impl.ConstantTextFragmentUnitTest

@UnitTest public class ConstantTextFragmentUnitTest extends AbstractScriptFragmentTest<ConstantTextFragment>
  • Constructor Details

    • ConstantTextFragmentUnitTest

      public ConstantTextFragmentUnitTest()
  • Method Details

    • setup

      public void setup()
    • testScriptFragmentIsEmptyBeforeAnyLineWasAdded

      public void testScriptFragmentIsEmptyBeforeAnyLineWasAdded()
    • testCommentCanBeAdded

      public void testCommentCanBeAdded() throws IOException
      Throws:
      IOException
    • testEmptyLineCanBeAdded

      public void testEmptyLineCanBeAdded() throws IOException
      Throws:
      IOException
    • testNullCannotBeAdded

      public void testNullCannotBeAdded() throws IOException
      Throws:
      IOException
    • testSomeTextCanBeAdded

      public void testSomeTextCanBeAdded() throws IOException
      Throws:
      IOException
    • testAddedLinesPreserveTheOrderInTheFragment

      public void testAddedLinesPreserveTheOrderInTheFragment() throws IOException
      Throws:
      IOException
    • testContentCanBeReadFromTheInputStream

      public void testContentCanBeReadFromTheInputStream() throws IOException
      Throws:
      IOException