Class DefaultSessionCachedContextProviderTest
- java.lang.Object
-
- de.hybris.platform.cms2.common.service.impl.DefaultSessionCachedContextProviderTest
-
@UnitTest public class DefaultSessionCachedContextProviderTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultSessionCachedContextProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgivenKeyIsCached_WhenHasCacheKeyIsCalled_ThenItMustReturnTrue()voidgivenKeyIsNotCached_WhenHasCacheKeyIsCalled_ThenItMustReturnFalse()voidshouldAddItemToExistingSetInCache()voidshouldCreateSetInCache()voidshouldCreateSetInCacheAndAddItemToSet()voidshouldFailToGetWrappedObjectInvalidInputType()voidshouldFailToInstantiateCollectionInCache()voidshouldGetExistingSetFromCache()voidshouldGetWrappedObjectByCacheKey()voidwhenCreateEmptyListCacheIsCalled_ThenItMustCreateAnEmptyListCache()
-
-
-
Method Detail
-
shouldCreateSetInCache
public void shouldCreateSetInCache()
-
shouldGetExistingSetFromCache
public void shouldGetExistingSetFromCache()
-
shouldFailToInstantiateCollectionInCache
public void shouldFailToInstantiateCollectionInCache()
-
shouldCreateSetInCacheAndAddItemToSet
public void shouldCreateSetInCacheAndAddItemToSet()
-
shouldAddItemToExistingSetInCache
public void shouldAddItemToExistingSetInCache()
-
shouldGetWrappedObjectByCacheKey
public void shouldGetWrappedObjectByCacheKey()
-
givenKeyIsNotCached_WhenHasCacheKeyIsCalled_ThenItMustReturnFalse
public void givenKeyIsNotCached_WhenHasCacheKeyIsCalled_ThenItMustReturnFalse()
-
givenKeyIsCached_WhenHasCacheKeyIsCalled_ThenItMustReturnTrue
public void givenKeyIsCached_WhenHasCacheKeyIsCalled_ThenItMustReturnTrue()
-
whenCreateEmptyListCacheIsCalled_ThenItMustCreateAnEmptyListCache
public void whenCreateEmptyListCacheIsCalled_ThenItMustCreateAnEmptyListCache()
-
shouldFailToGetWrappedObjectInvalidInputType
public void shouldFailToGetWrappedObjectInvalidInputType()
-
-