Class ImportErrorsConverterUnitTest
java.lang.Object
com.hybris.datahub.core.facades.impl.converter.ImportErrorsConverterUnitTest
Tests how converter builds the import result and handles the import errors. The error parsing of the error log and
the unresolved lines reported in the import result is simulated for more comprehensive case coverage.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImportErrorsConverterUnitTest
public ImportErrorsConverterUnitTest()
-
-
Method Details
-
setup
public void setup() -
testConvertedResultIsErrorWhenImportServiceReturnsErrors
public void testConvertedResultIsErrorWhenImportServiceReturnsErrors() -
testThrowsExceptionWhenErrorLimitIsExceeded
public void testThrowsExceptionWhenErrorLimitIsExceeded() -
testConvertedResultIsErrorWhenImportResultIsError
public void testConvertedResultIsErrorWhenImportResultIsError()
-