Class ValueLineErrorTest

java.lang.Object
de.hybris.platform.servicelayer.impex.impl.ValueLineErrorTest

@UnitTest public class ValueLineErrorTest extends Object
  • Constructor Details

    • ValueLineErrorTest

      public ValueLineErrorTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldHaveWrongOrMissingHeaderErrorTypeIfValueLineHasNoHeader

      public void shouldHaveWrongOrMissingHeaderErrorTypeIfValueLineHasNoHeader() throws Exception
      Throws:
      Exception
    • shouldHaveWrongOrMissingHeaderErrorTypeIfValueLineHasInvalidHeader

      public void shouldHaveWrongOrMissingHeaderErrorTypeIfValueLineHasInvalidHeader() throws Exception
      Throws:
      Exception
    • shouldHaveNotExistingItemErrorTypeWhenErrorMessageContains_NotExistingItemFound

      public void shouldHaveNotExistingItemErrorTypeWhenErrorMessageContains_NotExistingItemFound() throws Exception
      Throws:
      Exception
    • shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CouldNotResolveItemFor

      public void shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CouldNotResolveItemFor() throws Exception
      Throws:
      Exception
    • shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CannotResolveValue

      public void shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CannotResolveValue() throws Exception
      Throws:
      Exception
    • shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CouldNotRemoveItem

      public void shouldHaveReferenceViolationErrorTypeWhenErrorMessageContains_CouldNotRemoveItem() throws Exception
      Throws:
      Exception
    • shouldHaveCannotRemoveItemErrorTypeWhenErrorMessageContains_CouldNotRemoveItem

      public void shouldHaveCannotRemoveItemErrorTypeWhenErrorMessageContains_CouldNotRemoveItem() throws Exception
      Throws:
      Exception
    • shouldHaveNotProcessedConflictingErrorTypeWhenErrorMessageContains_AmbigousUniqueKeys

      public void shouldHaveNotProcessedConflictingErrorTypeWhenErrorMessageContains_AmbigousUniqueKeys() throws Exception
      Throws:
      Exception
    • shouldHavePartiallyProcessedErrorTypeWhenModeIsUPDATEAndProcessedItemPKIsPresent

      public void shouldHavePartiallyProcessedErrorTypeWhenModeIsUPDATEAndProcessedItemPKIsPresent() throws Exception
      Throws:
      Exception
    • shouldHaveNotProcessedErrorTypeWhenModeIsUPDATEAndProcessedItemPKIsNull

      public void shouldHaveNotProcessedErrorTypeWhenModeIsUPDATEAndProcessedItemPKIsNull() throws Exception
      Throws:
      Exception
    • shouldHavePartiallyProcessedErrorTypeWhenModeIsINSERT_UPDATEAndProcessedItemPKIsPresent

      public void shouldHavePartiallyProcessedErrorTypeWhenModeIsINSERT_UPDATEAndProcessedItemPKIsPresent() throws Exception
      Throws:
      Exception
    • shouldHaveNotProcessedErrorTypeWhenModeIsINSERT_UPDATEAndProcessedItemPKIsNull

      public void shouldHaveNotProcessedErrorTypeWhenModeIsINSERT_UPDATEAndProcessedItemPKIsNull() throws Exception
      Throws:
      Exception
    • shouldHaveNotProcessedWithErrorErrorTypeWhenModeIsINSERTAndConflictingItemPkIsNull

      public void shouldHaveNotProcessedWithErrorErrorTypeWhenModeIsINSERTAndConflictingItemPkIsNull() throws Exception
      Throws:
      Exception
    • shouldHaveUnknownErrorTypeWhenModeIsREMOVEAndErrorMessageIsEmpty

      public void shouldHaveUnknownErrorTypeWhenModeIsREMOVEAndErrorMessageIsEmpty() throws Exception
      Throws:
      Exception