Class DefaultModelServiceIntegrationTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.internal.model.impl.DefaultModelServiceIntegrationTest
All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultModelServiceIntegrationTest extends ServicelayerBaseTest
  • Constructor Details

    • DefaultModelServiceIntegrationTest

      public DefaultModelServiceIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testSaveAllInTx

      Throws:
      JaloInvalidParameterException
      JaloSecurityException
    • testSaveAll

      public void testSaveAll() throws JaloInvalidParameterException, JaloSecurityException
      Throws:
      JaloInvalidParameterException
      JaloSecurityException
    • testPLA7495InTx

      @Transactional public void testPLA7495InTx()
    • testPLA7495

      public void testPLA7495()
      PLA-7495
    • testPLA7495NoSearchableUIDInTx

      @Transactional public void testPLA7495NoSearchableUIDInTx()
    • testPLA7495NoSearchableUID

      public void testPLA7495NoSearchableUID()
    • testUniqueKeyInterceptor

      public void testUniqueKeyInterceptor()
    • testCurrencyCreateParamsInTx

      @Transactional public void testCurrencyCreateParamsInTx() throws JaloGenericCreationException, JaloAbstractTypeException
      Throws:
      JaloGenericCreationException
      JaloAbstractTypeException
    • testCurrencyCreateParams

      public void testCurrencyCreateParams() throws JaloGenericCreationException, JaloAbstractTypeException
      Throws:
      JaloGenericCreationException
      JaloAbstractTypeException
    • 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 Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay

      public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingAttributeValueInGenericWay() throws Exception
      Throws:
      Exception
    • shouldReturnLocalizedValueForAttributeInGenericWay

      public void shouldReturnLocalizedValueForAttributeInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay

      public void shouldThrowIllegalArgumentExceptionWhenValueForGivenLocaleCannotBeFoundWhenGettingLocalizedAttributeValueInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay

      public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay

      public void shouldThrowNullPointerExceptionWhenAttributeQualifierlIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay

      public void shouldThrowNullPointerExceptionWhenLocalelIsNullWhenGettingLocalizedAttributeValueInGenericWay() throws Exception
      Throws:
      Exception
    • shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay

      public void shouldReturnMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWay() throws Exception
      Throws:
      Exception
    • mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable

      public void mapOfLocalizedValuesForGivenLocalesObtainedInGenericWayShouldBeImmutable() throws Exception
      Throws:
      Exception
    • shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained

      public void shouldReturnEmptyMapOfLocalizedValuesForGivenLocalesForAttributeInGenericWayWhenNonOfTheValuesCanBeObtained() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay

      public void shouldThrowNullPointerExceptionWhenModelIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay

      public void shouldThrowNullPointerExceptionWhenAttributeIsNullWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception
      Throws:
      Exception
    • shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay

      public void shouldThrowNullPointerExceptionWhenLocalesArrayIsNulWhenGettingMapOfLocalizedAttributeValuesInGenericWay() throws Exception
      Throws:
      Exception
    • shouldSetLocalizedValueForAttributeInGenericWay

      public void shouldSetLocalizedValueForAttributeInGenericWay() throws Exception
      Throws:
      Exception
    • testSetAttributeLocalizedWithoutSessionLang

      public void testSetAttributeLocalizedWithoutSessionLang()
    • testSetAttributeNonWritableInTx

      @Transactional public void testSetAttributeNonWritableInTx()
    • testSetAttributeNonWritable

      public void testSetAttributeNonWritable()
    • testLockPK

      public void testLockPK()