Class DefaultCMSItemDeepCloningServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.cloning.service.impl.DefaultCMSItemDeepCloningServiceTest
-
@UnitTest public class DefaultCMSItemDeepCloningServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSItemDeepCloningServiceTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
generateCloneUid
public void generateCloneUid()
-
givenComponentName_WhenGenerateCloneComponentNameIsCalled_ThenItReturnsANameWithTheNewPostfix
public void givenComponentName_WhenGenerateCloneComponentNameIsCalled_ThenItReturnsANameWithTheNewPostfix()
-
givenComponentNameWithClonePrefix_WhenGenerateCloneComponentNameIsCalled_ThenItReturnsANameOnlyWithANewPostfix
public void givenComponentNameWithClonePrefix_WhenGenerateCloneComponentNameIsCalled_ThenItReturnsANameOnlyWithANewPostfix()
-
shouldIgnoreAttributeMaxLengthIfItIsLessThanMinimalSizeForAttributeValue
public void shouldIgnoreAttributeMaxLengthIfItIsLessThanMinimalSizeForAttributeValue()
-
shouldNotGeneratePrefixIfItAlreadyExists
public void shouldNotGeneratePrefixIfItAlreadyExists()
-
givenVeryLongOriginalUid_WhenGenerateCloneUidWithOriginalUid_ThenReturnsNewUidWithCroppedOriginalValue
public void givenVeryLongOriginalUid_WhenGenerateCloneUidWithOriginalUid_ThenReturnsNewUidWithCroppedOriginalValue()
-
-