Class MandatoryAttributeValidatorTest

    • Constructor Detail

      • MandatoryAttributeValidatorTest

        public MandatoryAttributeValidatorTest()
    • Method Detail

      • 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 java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved

        public void shouldThrowExceptionWhenMandatoryReferencedModelIsAlreadyRemoved()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved

        public void shouldThrowExceptionWhenMandatoryModelAsPartOfReferencedCollectionIsAlreadyRemoved()
                                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception