Class AbstractCMSAdminServiceTest
java.lang.Object
de.hybris.platform.cms2.servicelayer.services.admin.impl.AbstractCMSAdminServiceTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTest method forAbstractCMSAdminService.getActiveCatalogVersion().voidTest method forAbstractCMSAdminService.getActiveSite().voidTest method forAbstractCMSAdminService.getActiveCatalogVersion().voidTest method forAbstractCMSAdminService.getActiveSite().voidTest method forAbstractCMSAdminService.getActiveSite().voidTest method forAbstractCMSAdminService.getActiveCatalogVersion().voidTest method forAbstractCMSAdminService.getActiveSite().voidTest method forAbstractCMSAdminService.getActiveSite().
-
Constructor Details
-
AbstractCMSAdminServiceTest
public AbstractCMSAdminServiceTest()
-
-
Method Details
-
setUp
- Throws:
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().
-