Class ManyToManyReferencesResolverTest

    • Constructor Detail

      • ManyToManyReferencesResolverTest

        public ManyToManyReferencesResolverTest()
    • Method Detail

      • setUp

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

        protected void switchPersistenceLegacyMode​(boolean value)
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForUserBasedOnCurrentModel

        public void shouldProvideAuditRecordsForUserBasedOnCurrentModel()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForUserWithDeleteBasedOnCurrentModel

        public void shouldProvideAuditRecordsForUserWithDeleteBasedOnCurrentModel()
                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForGroupWithDeleteBasedOnCurrentModel

        public void shouldProvideAuditRecordsForGroupWithDeleteBasedOnCurrentModel()
                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForDeletedUser

        public void shouldProvideAuditRecordsForDeletedUser()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForUserWithDeleteBasedOnCurrentModelAndAudit

        public void shouldProvideAuditRecordsForUserWithDeleteBasedOnCurrentModelAndAudit()
                                                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForUserBasedOnCurrentModelAndAudit

        public void shouldProvideAuditRecordsForUserBasedOnCurrentModelAndAudit()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldProvideAuditRecordsForGroupBasedOnCurrentModelAndAudit

        public void shouldProvideAuditRecordsForGroupBasedOnCurrentModelAndAudit()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • enableAuditing

        protected void enableAuditing​(java.lang.String... types)
      • createUserGroup

        protected UserGroupModel createUserGroup​(java.lang.String userGroupUid,
                                                 java.lang.String userGroupName)
      • createUser

        protected UserModel createUser​(java.lang.String userUid,
                                       java.lang.String userName)
      • createConfigForUserWithManyToManyAttribute

        protected AuditReportConfig createConfigForUserWithManyToManyAttribute()
      • createConfigForGroupWithManyToManyAttribute

        protected AuditReportConfig createConfigForGroupWithManyToManyAttribute()