Class ValidateDepotSaveDtoImplTest

java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateDepotSaveDtoImplTest

public class ValidateDepotSaveDtoImplTest extends Object
  • Constructor Details

    • ValidateDepotSaveDtoImplTest

      public ValidateDepotSaveDtoImplTest()
  • Method Details

    • setup

      public void setup()
    • isValid_fail_isEmpty

      public void isValid_fail_isEmpty()
    • isValid_success

      public void isValid_success()
    • isNameValid_fail_isNull

      public void isNameValid_fail_isNull()
    • isNameValid_fail_isBlank

      public void isNameValid_fail_isBlank()
    • isNameValid_fail_isTooLong

      public void isNameValid_fail_isTooLong()
    • isNameValid_fail_hasLeadingSpace

      public void isNameValid_fail_hasLeadingSpace()
    • isNameValid_fail_hasTrailingSpace

      public void isNameValid_fail_hasTrailingSpace()
    • isNameValid_fail_newElementIsNotUnique

      public void isNameValid_fail_newElementIsNotUnique()
    • isNameValid_fail_existingElementIsNotUnique

      public void isNameValid_fail_existingElementIsNotUnique()
    • isNameValid_success

      public void isNameValid_success()
    • isNameValid_success_existingElement

      public void isNameValid_success_existingElement()
    • isNameValid_success_uniqueSibling

      public void isNameValid_success_uniqueSibling()
    • isNameValid_success_uniqueSubNode

      public void isNameValid_success_uniqueSubNode()
    • isPositionInTreeStructureValid_fail_isItsOwnParent

      public void isPositionInTreeStructureValid_fail_isItsOwnParent()
    • isPositionInTreeStructureValid_fail_isItsOwnGrandParent

      public void isPositionInTreeStructureValid_fail_isItsOwnGrandParent()
    • isPositionInTreeStructureValid_success_isNew

      public void isPositionInTreeStructureValid_success_isNew()
    • isPositionInTreeStructureValid_success_isRoot

      public void isPositionInTreeStructureValid_success_isRoot()
    • isPositionInTreeStructureValid_success_isNotInCircle

      public void isPositionInTreeStructureValid_success_isNotInCircle()