Class MandatoryAttributeValidatorTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class MandatoryAttributeValidatorTest extends ServicelayerTransactionalBaseTest
  • Constructor Details

    • MandatoryAttributeValidatorTest

      public MandatoryAttributeValidatorTest()
  • Method Details

    • prepare

      public void prepare()
    • testCreate1

      public void testCreate1()
    • testCreate2

      public void testCreate2()
    • testCreate3

      public void testCreate3()
    • testMissingMandatoryAttributeGermanMessage

      public void testMissingMandatoryAttributeGermanMessage()
    • testMissingMandatoryAttributeEnglishMessage

      public void testMissingMandatoryAttributeEnglishMessage()
    • shouldProperlySaveModelWhenMandatoryReferenceIsAlive

      public void shouldProperlySaveModelWhenMandatoryReferenceIsAlive() throws Exception
      Throws:
      Exception
    • shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved

      public void shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved() throws Exception
      Throws:
      Exception
    • shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved

      public void shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved() throws Exception
      Throws:
      Exception
    • shouldSkipCatalogPropertyValidationForCatalogAwareCatalogversionNonawareItem

      public void shouldSkipCatalogPropertyValidationForCatalogAwareCatalogversionNonawareItem()
    • shouldSkipCatalogPropertyValidationForCatalogMandatoryCatalogversionNonmandatoryItem

      public void shouldSkipCatalogPropertyValidationForCatalogMandatoryCatalogversionNonmandatoryItem()
    • shouldNotSkipCatalogPropertyValidationForCatalogVersionItem

      public void shouldNotSkipCatalogPropertyValidationForCatalogVersionItem()