Class DefaultModelServiceIntegrationTest

    • Constructor Detail

      • DefaultModelServiceIntegrationTest

        public DefaultModelServiceIntegrationTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPLA7495

        public void testPLA7495()
        PLA-7495
      • testPLA7495NoSearchableUIDInTx

        @Transactional
        public void testPLA7495NoSearchableUIDInTx()
      • testPLA7495NoSearchableUID

        public void testPLA7495NoSearchableUID()
      • testUniqueKeyInterceptor

        public void testUniqueKeyInterceptor()
      • testSetAttributeValuesTestInTx

        @Transactional
        public void testSetAttributeValuesTestInTx()
      • testSetAttributeValuesTest

        public void testSetAttributeValuesTest()
      • testSetAttributeLocalizedWithSessionLangInTx

        @Transactional
        public void testSetAttributeLocalizedWithSessionLangInTx()
      • testSetAttributeLocalizedWithSessionLang

        public void testSetAttributeLocalizedWithSessionLang()
      • testSetAttributeLocalizedWithoutSessionLangInTx

        @Transactional
        public void testSetAttributeLocalizedWithoutSessionLangInTx()
      • shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay

        public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingAttributeValueInGenericWay()
                                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay

        public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay()
                                                                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnLocalizedValueForAttributeInGenericWay

        public void shouldReturnLocalizedValueForAttributeInGenericWay()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay

        public void shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay()
                                                                                                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay

        public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay()
                                                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay

        public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay()
                                                                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay

        public void shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay()
                                                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay

        public void shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay()
                                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable

        public void mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable()
                                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained

        public void shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained()
                                                                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay

        public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay()
                                                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay

        public void shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay()
                                                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay

        public void shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay()
                                                                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSetLocalizedValueForAttributeInGenericWay

        public void shouldSetLocalizedValueForAttributeInGenericWay()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSetAttributeLocalizedWithoutSessionLang

        public void testSetAttributeLocalizedWithoutSessionLang()
      • testSetAttributeNonWritableInTx

        @Transactional
        public void testSetAttributeNonWritableInTx()
      • testSetAttributeNonWritable

        public void testSetAttributeNonWritable()
      • testLockPK

        public void testLockPK()