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>
-
Field Summary
Fields inherited from class com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest
fragment -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest
assertLineIsInTheFragment, assertLineWasNotAdded, readContentFromTheInputStream, testLineThatShouldBeAdded, testLineThatShouldNotBeAdded
-
Constructor Details
-
ConstantTextFragmentUnitTest
public ConstantTextFragmentUnitTest()
-
-
Method Details
-
setup
public void setup() -
testScriptFragmentIsEmptyBeforeAnyLineWasAdded
public void testScriptFragmentIsEmptyBeforeAnyLineWasAdded() -
testCommentCanBeAdded
- Throws:
IOException
-
testEmptyLineCanBeAdded
- Throws:
IOException
-
testNullCannotBeAdded
- Throws:
IOException
-
testSomeTextCanBeAdded
- Throws:
IOException
-
testAddedLinesPreserveTheOrderInTheFragment
- Throws:
IOException
-
testContentCanBeReadFromTheInputStream
- Throws:
IOException
-