Class DefaultAuditConfigServiceTest

    • Constructor Detail

      • DefaultAuditConfigServiceTest

        public DefaultAuditConfigServiceTest()
    • Method Detail

      • disableProductionMode

        public void disableProductionMode()
      • revertProperty

        public void revertProperty()
      • shouldStoreConfig

        public void shouldStoreConfig()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFailIfConfigNameDoesNotMatchAuditReportConfigModelCode

        public void shouldFailIfConfigNameDoesNotMatchAuditReportConfigModelCode()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowExceptionWhenSavingReportWithWarningsInProductionMode

        public void shouldThrowExceptionWhenSavingReportWithWarningsInProductionMode()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSaveReportWithWarningsInDevelopmentMode

        public void shouldSaveReportWithWarningsInDevelopmentMode()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldUnmarshallConfig

        public void shouldUnmarshallConfig()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFindExistingConfig

        public void shouldFindExistingConfig()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldMergeTwoConfigurations_defaultModeAppend

        public void shouldMergeTwoConfigurations_defaultModeAppend()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldMergeTwoConfigurations_declaredModeAppend

        public void shouldMergeTwoConfigurations_declaredModeAppend()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldMergeTwoConfigurations_declaredModeReplace

        public void shouldMergeTwoConfigurations_declaredModeReplace()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldMergeTwoConfigurations_declaredModeRemove

        public void shouldMergeTwoConfigurations_declaredModeRemove()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldGetAllConfigsForRootType

        public void shouldGetAllConfigsForRootType()
      • shouldGetAllConfigsForExtendedType

        public void shouldGetAllConfigsForExtendedType()
      • shouldReturnEmptyCollectionForNonExistingRootType

        public void shouldReturnEmptyCollectionForNonExistingRootType()
      • shouldNotReturnInactiveConfiguration

        public void shouldNotReturnInactiveConfiguration()
      • shouldMergeRelationAttributesForTwoConfigurations

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