public abstract class AbstractCachePoolTest extends AbstractQi4jTest
| Modifier and Type | Field and Description |
|---|---|
protected Cache<String> |
cache |
protected CachePool |
cachePool |
moduleapi, application, applicationModel, qi4j, spi| Constructor and Description |
|---|
AbstractCachePoolTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
givenCacheWithAValueWhenReplacingValueExpectNewValue() |
void |
givenCacheWithAValueWhenRequestingThatValueExpectItBack() |
void |
givenCacheWithValueWhenDroppingReferenceAndRequestNewCacheAndItsValueExpectItToBeGone() |
void |
givenEmptyCacheWhenFetchingValueExpectNull() |
void |
givenInvalidCacheNameWhenFetchingCacheExpectNullArgumentException() |
void |
givenLoooongCacheNameWhenFetchingCacheExpectOk() |
void |
setUp() |
defineApplication, tearDownassemblyException, initApplication, newApplication, newApplicationInstancepublic void setUp()
throws Exception
setUp in class AbstractQi4jTestExceptionpublic void givenInvalidCacheNameWhenFetchingCacheExpectNullArgumentException()
public void givenLoooongCacheNameWhenFetchingCacheExpectOk()
public void givenEmptyCacheWhenFetchingValueExpectNull()
public void givenCacheWithAValueWhenRequestingThatValueExpectItBack()
public void givenCacheWithAValueWhenReplacingValueExpectNewValue()
public void givenCacheWithValueWhenDroppingReferenceAndRequestNewCacheAndItsValueExpectItToBeGone()