@PrepareForTest(value=LogUtils.class) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class RedisCacheableWebResponseDaoShortLivedMapSpec_replace extends Object
Modifier and Type | Field and Description |
---|---|
private String |
key |
private com.lambdaworks.redis.RedisAsyncConnection<String,String> |
redisAsyncConnectionMock |
private RedisCacheableWebResponseDaoShortLivedMap |
redisCacheableWebResponseDaoShortLivedMap |
private CacheableWebResponse |
value |
Constructor and Description |
---|
RedisCacheableWebResponseDaoShortLivedMapSpec_replace() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_returnsNullIfCodeThrowsIOException() |
void |
positiveFlow_returnsOldValueIfCodeRunsSuccessfully() |
void |
setUp() |
private void |
testReplace_negativeFlow(Class<? extends Exception> exceptionClass) |
private com.lambdaworks.redis.RedisAsyncConnection<String,String> redisAsyncConnectionMock
private RedisCacheableWebResponseDaoShortLivedMap redisCacheableWebResponseDaoShortLivedMap
private String key
private CacheableWebResponse value
public RedisCacheableWebResponseDaoShortLivedMapSpec_replace()
public void positiveFlow_returnsOldValueIfCodeRunsSuccessfully() throws Exception
Exception
public void negativeFlow_returnsNullIfCodeThrowsIOException() throws Exception
Exception