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