Class DefaultModelServiceTest


  • @UnitTest
    public class DefaultModelServiceTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultModelServiceTest

        public DefaultModelServiceTest()
    • Method Detail

      • setUp

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

        public void shouldEnableTransactionsLocally()
      • shouldDisableTransactionsLocally

        public void shouldDisableTransactionsLocally()
      • shouldClearTransactionSettings

        public void shouldClearTransactionSettings()
      • shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsTrue

        public void shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsTrue()
                                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsFalseButLocallyTransactionsAreEnabled

        public void shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsFalseButLocallyTransactionsAreEnabled()
                                                                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsFalse

        public void shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsFalse()
                                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsTrueButLocallyTransactionsAreDisabled

        public void shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsTrueButLocallyTransactionsAreDisabled()
                                                                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • removeAllWithTransaction

        public void removeAllWithTransaction()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • removeAllWithoutTransaction

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