@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
Exception
private RedisL2Cache<Set<String>> createRedisL2Cache() throws Exception
Exception
private RedisL2Cache<Set<String>> createRedisL2CacheMock(boolean fillVarzas) throws Exception
Exception
public void positiveFlow_constructor_initializesFieldsAndCallsRefreshPool() throws Exception
Exception
public void positiveFlow_get_returnsExpectedResultAndChangesCurrentConnection() throws Exception
Exception
public void positiveFlow_refreshPool_createsConnectionsAndSchedulesExecutionOfRedisL2Cache() throws Exception
Exception