Class DefaultModelServiceTest

java.lang.Object
de.hybris.platform.servicelayer.internal.model.impl.DefaultModelServiceTest

@UnitTest public class DefaultModelServiceTest extends Object
  • Constructor Details

    • DefaultModelServiceTest

      public DefaultModelServiceTest()
  • Method Details

    • setup

      public void setup()
    • tearDown

      public void tearDown()
    • shouldEnableTransactionsLocally

      public void shouldEnableTransactionsLocally()
    • shouldDisableTransactionsLocally

      public void shouldDisableTransactionsLocally()
    • shouldClearTransactionSettings

      public void shouldClearTransactionSettings()
    • shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsTrue

      public void shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsTrue() throws Exception
      Throws:
      Exception
    • shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsFalseButLocallyTransactionsAreEnabled

      public void shouldExecuteSaveVaragsObjectsInTransactionWhenGlobalTransactionFlagIsFalseButLocallyTransactionsAreEnabled() throws Exception
      Throws:
      Exception
    • shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsFalse

      public void shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsFalse() throws Exception
      Throws:
      Exception
    • shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsTrueButLocallyTransactionsAreDisabled

      public void shouldExecuteSaveVaragsObjectsWithoutTransactionWhenGlobalTransactionFlagIsTrueButLocallyTransactionsAreDisabled() throws Exception
      Throws:
      Exception
    • removeAllWithTransaction

      public void removeAllWithTransaction() throws Exception
      Throws:
      Exception
    • removeAllWithoutTransaction

      public void removeAllWithoutTransaction() throws Exception
      Throws:
      Exception