Class AbstractCMSAdminServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.admin.impl.AbstractCMSAdminServiceTest
-
@UnitTest public class AbstractCMSAdminServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractCMSAdminServiceTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnCatalogVersionWhenActiveCatalogVersionIsPresentInSession
public void shouldReturnCatalogVersionWhenActiveCatalogVersionIsPresentInSession()
Test method forAbstractCMSAdminService.getActiveCatalogVersion().
-
shouldReturnCmsSiteWhenActiveSiteIsPresentInSession
public void shouldReturnCmsSiteWhenActiveSiteIsPresentInSession()
Test method forAbstractCMSAdminService.getActiveSite().
-
shouldReturnNullWhenActiveCatalogVersionIsNotPresentInSession
public void shouldReturnNullWhenActiveCatalogVersionIsNotPresentInSession()
Test method forAbstractCMSAdminService.getActiveCatalogVersion().
-
shouldReturnNullWhenActiveSiteIsNotPresentInSessionAndNoBaseSite
public void shouldReturnNullWhenActiveSiteIsNotPresentInSessionAndNoBaseSite()
Test method forAbstractCMSAdminService.getActiveSite().
-
shouldReturnSiteFromBaseSiteWhenActiveSiteIsNotPresentInSession
public void shouldReturnSiteFromBaseSiteWhenActiveSiteIsNotPresentInSession()
Test method forAbstractCMSAdminService.getActiveSite().
-
shouldReturnNullWhenActiveSiteIsNotPresentInSessionAndBaseSiteIsNotCMSSite
public void shouldReturnNullWhenActiveSiteIsNotPresentInSessionAndBaseSiteIsNotCMSSite()
Test method forAbstractCMSAdminService.getActiveSite().
-
shouldReturnNullWhenExceptionWasThrownDuringGettingCatalogVersion
public void shouldReturnNullWhenExceptionWasThrownDuringGettingCatalogVersion()
Test method forAbstractCMSAdminService.getActiveCatalogVersion().
-
shouldReturnNullWhenExceptionWasThrownDuringGettingCmsSite
public void shouldReturnNullWhenExceptionWasThrownDuringGettingCmsSite()
Test method forAbstractCMSAdminService.getActiveSite().
-
-