@PrepareForTest(value={ServiceRunner.class,Bidder.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class RedisBidInfoDaoShortLivedMapSpec_get 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_get() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_returnsNullIfCodeThrowsExecutionException() |
void |
negativeFlow_returnsNullIfCodeThrowsInterruptedException() |
void |
positiveFlow_returnsExpectedValueIfCodeRunsSuccessfully() |
void |
setUp() |
private void |
testGet_negativeFlow(Class<? extends Exception> exceptionClass) |
private com.lambdaworks.redis.RedisAsyncConnection<String,String> redisAsyncConnectionMock
private RedisBidInfoDaoShortLivedMap redisBidInfoDaoShortLivedMap
private String key
public RedisBidInfoDaoShortLivedMapSpec_get()
public void positiveFlow_returnsExpectedValueIfCodeRunsSuccessfully() throws Exception
Exception
public void negativeFlow_returnsNullIfCodeThrowsInterruptedException() throws Exception
Exception
public void negativeFlow_returnsNullIfCodeThrowsExecutionException() throws Exception
Exception