@PrepareForTest(value={ServiceRunner.class,Bidder.class,RedisL2Cache.class,LogUtils.class})
@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class RedisL2CacheSpec_ALL
extends Object
| Constructor and Description |
|---|
RedisL2CacheSpec_ALL() |
| Modifier and Type | Method and Description |
|---|---|
private void |
createMocksForRefreshPool() |
private RedisL2Cache<Set<String>> |
createRedisL2Cache() |
private RedisL2Cache<Set<String>> |
createRedisL2CacheMock(boolean fillVarzas) |
void |
positiveFlow_close_closesAllConnectionsInPool() |
void |
positiveFlow_constructor_initializesFieldsAndCallsRefreshPool() |
void |
positiveFlow_get_returnsExpectedResultAndChangesCurrentConnection() |
void |
positiveFlow_refreshPool_createsConnectionsAndSchedulesExecutionOfRedisL2Cache() |
void |
setUp() |
private void createMocksForRefreshPool()
throws Exception
Exceptionprivate RedisL2Cache<Set<String>> createRedisL2Cache() throws Exception
Exceptionprivate RedisL2Cache<Set<String>> createRedisL2CacheMock(boolean fillVarzas) throws Exception
Exceptionpublic void positiveFlow_constructor_initializesFieldsAndCallsRefreshPool()
throws Exception
Exceptionpublic void positiveFlow_get_returnsExpectedResultAndChangesCurrentConnection()
throws Exception
Exceptionpublic void positiveFlow_refreshPool_createsConnectionsAndSchedulesExecutionOfRedisL2Cache()
throws Exception
Exception