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