@UnitTest public class DefaultCMSComponentServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCMSComponentServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
givenComponentHasOneOrMoreReferencesOusidePage_WhenIsComponentUsedOutsidePageIsCalled_ThenItReturnsTrue() |
void |
givenComponentHasZeroReferencesOusidePage_WhenIsComponentUsedOutsidePageIsCalled_ThenItReturnsFalse() |
void |
setUp() |
void |
shouldBeNotRestrictedWhenRestrictionsAreEmptyList()
Test method for
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
. |
void |
shouldBeNotRestrictedWhenRestrictionsAreNull()
Test method for
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
. |
void |
shouldBeRestrictedWhenRestrictionsAreNotEmptyList()
Test method for
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
. |
void |
shouldReturnAllEditorProperties() |
void |
shouldReturnOnlyReadableEditorProperties() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldBeNotRestrictedWhenRestrictionsAreNull()
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
.public void shouldBeNotRestrictedWhenRestrictionsAreEmptyList()
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
.public void shouldBeRestrictedWhenRestrictionsAreNotEmptyList()
de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSComponentService#isCmsComponentRestricted(de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel)
.public void shouldReturnAllEditorProperties()
public void shouldReturnOnlyReadableEditorProperties()
public void givenComponentHasOneOrMoreReferencesOusidePage_WhenIsComponentUsedOutsidePageIsCalled_ThenItReturnsTrue()
public void givenComponentHasZeroReferencesOusidePage_WhenIsComponentUsedOutsidePageIsCalled_ThenItReturnsFalse()
Copyright © 2018 SAP SE. All Rights Reserved.