Class RestoreContentPagePopulatorTest
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.RestoreContentPagePopulatorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureContentPage(CmsPageStatus pageStatus, boolean isDefaultPage, boolean isHomepage) voidvoidprotected voidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
RestoreContentPagePopulatorTest
public RestoreContentPagePopulatorTest()
-
-
Method Details
-
testWhenItemModelIsNull_should_ThrowException
public void testWhenItemModelIsNull_should_ThrowException() -
testWhenMapIsNull_should_ThrowException
public void testWhenMapIsNull_should_ThrowException() -
testShouldDoNothingWhenReplacePropertyIsNotProvided
public void testShouldDoNothingWhenReplacePropertyIsNotProvided() -
testShouldDoNothingWhenReplacePropertyIsFalse
public void testShouldDoNothingWhenReplacePropertyIsFalse() -
testShouldDoNothingWhenReplacePropertyIsTrueAndNoPrimaryWithLabelExists
public void testShouldDoNothingWhenReplacePropertyIsTrueAndNoPrimaryWithLabelExists() -
testShouldFindPrimaryPageAndMarkItDeletedWhenReplacePropertyIsTrueAndAPrimaryWithLabelExists
public void testShouldFindPrimaryPageAndMarkItDeletedWhenReplacePropertyIsTrueAndAPrimaryWithLabelExists() -
givenPageWillReplaceAnExistingHomePage_WhenPopulated_ItMustSwapTheExistingHomepage
public void givenPageWillReplaceAnExistingHomePage_WhenPopulated_ItMustSwapTheExistingHomepage() -
givenPageWillReplaceAnExistingPage_WhenPopulated_ItMustNotSwapTheExistingHomepage
public void givenPageWillReplaceAnExistingPage_WhenPopulated_ItMustNotSwapTheExistingHomepage() -
configureContentPage
protected void configureContentPage(CmsPageStatus pageStatus, boolean isDefaultPage, boolean isHomepage) -
setCurrentPageAsDuplicate
protected void setCurrentPageAsDuplicate()
-