Class CloneContentSlotPopulatorTest
- java.lang.Object
-
- de.hybris.platform.cmsfacades.cmsitems.populators.CloneContentSlotPopulatorTest
-
@UnitTest public class CloneContentSlotPopulatorTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CloneContentSlotPopulatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestCloneContentSlotModelWithEmptyContext()voidtestCloneContentSlotModelWithInvalidContentSlotUUIDShouldFail()voidtestCloneContentSlotModelWithInvalidPageUUIDShouldFail()voidtestCloneContentSlotModelWithoutCloneComponentsShouldFail()voidtestCloneContentSlotModelWithoutContentSlotUUIDShouldFail()voidtestCloneContentSlotModelWithoutPageUUIDShouldFail()voidtestCloneContentSlotModelWithValidPageAndContentSlotUUID()voidtestWhenItemModelIsNull_should_ThrowException()voidtestWhenMapIsNull_should_ThrowException()
-
-
-
Method Detail
-
setup
public void setup()
-
testWhenItemModelIsNull_should_ThrowException
public void testWhenItemModelIsNull_should_ThrowException()
-
testWhenMapIsNull_should_ThrowException
public void testWhenMapIsNull_should_ThrowException()
-
testCloneContentSlotModelWithValidPageAndContentSlotUUID
public void testCloneContentSlotModelWithValidPageAndContentSlotUUID() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithInvalidPageUUIDShouldFail
public void testCloneContentSlotModelWithInvalidPageUUIDShouldFail() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithInvalidContentSlotUUIDShouldFail
public void testCloneContentSlotModelWithInvalidContentSlotUUIDShouldFail() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithoutPageUUIDShouldFail
public void testCloneContentSlotModelWithoutPageUUIDShouldFail() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithoutContentSlotUUIDShouldFail
public void testCloneContentSlotModelWithoutContentSlotUUIDShouldFail() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithoutCloneComponentsShouldFail
public void testCloneContentSlotModelWithoutCloneComponentsShouldFail() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
testCloneContentSlotModelWithEmptyContext
public void testCloneContentSlotModelWithEmptyContext() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
-