@UnitTest public class DefaultSessionCachedContextProviderTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultSessionCachedContextProviderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
givenKeyIsCached_WhenHasCacheKeyIsCalled_ThenItMustReturnTrue() |
void |
givenKeyIsNotCached_WhenHasCacheKeyIsCalled_ThenItMustReturnFalse() |
void |
shouldAddItemToExistingSetInCache() |
void |
shouldCreateSetInCache() |
void |
shouldCreateSetInCacheAndAddItemToSet() |
void |
shouldFailToGetWrappedObjectInvalidInputType() |
void |
shouldFailToInstantiateCollectionInCache() |
void |
shouldGetExistingSetFromCache() |
void |
shouldGetWrappedObjectByCacheKey() |
void |
whenCreateEmptyListCacheIsCalled_ThenItMustCreateAnEmptyListCache() |
public DefaultSessionCachedContextProviderTest()
public void shouldCreateSetInCache()
public void shouldGetExistingSetFromCache()
public void shouldFailToInstantiateCollectionInCache()
public void shouldCreateSetInCacheAndAddItemToSet()
public void shouldAddItemToExistingSetInCache()
public void shouldGetWrappedObjectByCacheKey()
public void givenKeyIsNotCached_WhenHasCacheKeyIsCalled_ThenItMustReturnFalse()
public void givenKeyIsCached_WhenHasCacheKeyIsCalled_ThenItMustReturnTrue()
public void whenCreateEmptyListCacheIsCalled_ThenItMustCreateAnEmptyListCache()
public void shouldFailToGetWrappedObjectInvalidInputType()
Copyright © 2018 SAP SE. All Rights Reserved.