@MockPolicy(value=SharedSetUp.class) @PrepareForTest(value=AdCache.class) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class AdCacheSpec_constructor extends Object
Modifier and Type | Field and Description |
---|---|
private AdCache |
adCache |
private AdCacheConfig |
adCacheConfig |
private com.lambdaworks.redis.RedisClient |
redisClientMock |
Constructor and Description |
---|
AdCacheSpec_constructor() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_throwsExceptionIfMessageTtlMinutesIsNotPositive() |
void |
positiveFlow_initializesNecessaryFieldsIfAllConfigSataAreCorrect() |
void |
setUp() |
private AdCacheConfig adCacheConfig
private com.lambdaworks.redis.RedisClient redisClientMock
private AdCache adCache
public void negativeFlow_throwsExceptionIfMessageTtlMinutesIsNotPositive() throws Lot49Exception
Lot49Exception
public void positiveFlow_initializesNecessaryFieldsIfAllConfigSataAreCorrect() throws Lot49Exception
Lot49Exception