Package com.hybris.datahub.core.facades
Class ItemImportResultUnitTest
- java.lang.Object
-
- com.hybris.datahub.core.facades.ItemImportResultUnitTest
-
@UnitTest public class ItemImportResultUnitTest extends java.lang.Object
A unit test forItemImportResult
-
-
Constructor Summary
Constructors Constructor Description ItemImportResultUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestImportErrorCollectionCannotBeModifiedFromOutside()voidtestResultIsUnsuccessfulWhenAtLeastOneImportErrorWasAdded()voidtestResultIsUnsuccessfulWhenCreatedWithErrorMessage()voidtestResultIsUnsuccessfulWhenCreatedWithException()voidtestSuccessfulByDefault()voidtoStringContainsERRORWhenResultIsNotSuccessful()voidtoStringContainsSUCCESSWhenResultIsSuccessful()voidtoStringPrintsOutExceptionWhenItIsPresentInTheResult()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testSuccessfulByDefault
public void testSuccessfulByDefault()
-
testImportErrorCollectionCannotBeModifiedFromOutside
public void testImportErrorCollectionCannotBeModifiedFromOutside()
-
testResultIsUnsuccessfulWhenAtLeastOneImportErrorWasAdded
public void testResultIsUnsuccessfulWhenAtLeastOneImportErrorWasAdded()
-
testResultIsUnsuccessfulWhenCreatedWithException
public void testResultIsUnsuccessfulWhenCreatedWithException()
-
testResultIsUnsuccessfulWhenCreatedWithErrorMessage
public void testResultIsUnsuccessfulWhenCreatedWithErrorMessage()
-
toStringContainsSUCCESSWhenResultIsSuccessful
public void toStringContainsSUCCESSWhenResultIsSuccessful()
-
toStringContainsERRORWhenResultIsNotSuccessful
public void toStringContainsERRORWhenResultIsNotSuccessful()
-
toStringPrintsOutExceptionWhenItIsPresentInTheResult
public void toStringPrintsOutExceptionWhenItIsPresentInTheResult()
-
-