Class DefaultCMSAdminItemServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.admin.impl.DefaultCMSAdminItemServiceTest
-
@UnitTest public class DefaultCMSAdminItemServiceTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultCMSAdminItemServiceTest.CMSSubClass
-
Constructor Summary
Constructors Constructor Description DefaultCMSAdminItemServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfindByItemDataWillDelegateToTheDao()voidfindByItemDataWillReturnEmptyWhenNotFound()voidfindByUidWillDelegateToTheDaoWithPassedVersion()voidfindByUidWillDelegateToTheDaoWithVersionInSession()voidfindByUidWillThrowExceptionWhenNotFound()voidsetUp()voidwillCreateAnItemAndAssignAUID()voidwillCreateAnItemAndNotAssignAUID()
-
-
-
Method Detail
-
setUp
public void setUp()
-
findByUidWillDelegateToTheDaoWithPassedVersion
public void findByUidWillDelegateToTheDaoWithPassedVersion() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
findByUidWillDelegateToTheDaoWithVersionInSession
public void findByUidWillDelegateToTheDaoWithVersionInSession() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
findByUidWillThrowExceptionWhenNotFound
public void findByUidWillThrowExceptionWhenNotFound() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
findByItemDataWillDelegateToTheDao
public void findByItemDataWillDelegateToTheDao() throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
findByItemDataWillReturnEmptyWhenNotFound
public void findByItemDataWillReturnEmptyWhenNotFound()
-
willCreateAnItemAndAssignAUID
public void willCreateAnItemAndAssignAUID()
-
willCreateAnItemAndNotAssignAUID
public void willCreateAnItemAndNotAssignAUID()
-
-