@PrepareForTest(value={ServiceRunner.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class ServiceRunnerSpec_initCaches extends Object
Modifier and Type | Field and Description |
---|---|
private AdCache |
adCacheMock |
private Map<String,DbService> |
dbServices |
private Lot49Config |
lot49ConfigMock |
private ServiceRunner |
serviceRunnerMock |
private String |
uaDb |
private String |
usDb |
private DaoMapOfUserAttributes |
userAttributesCacheServiceMock |
private DaoMapOfUserSegments |
userSegmentsCacheServiceMock |
Constructor and Description |
---|
ServiceRunnerSpec_initCaches() |
Modifier and Type | Method and Description |
---|---|
void |
positiveFlow_initializesCachesIfConfigsAreNotNull() |
void |
positiveFlow_initializesCachesIfConfigsAreNull() |
void |
setUp() |
private Lot49Config lot49ConfigMock
private ServiceRunner serviceRunnerMock
private String uaDb
private String usDb
private AdCache adCacheMock
private DaoMapOfUserAttributes userAttributesCacheServiceMock
private DaoMapOfUserSegments userSegmentsCacheServiceMock
public void positiveFlow_initializesCachesIfConfigsAreNotNull() throws Exception
Exception
public void positiveFlow_initializesCachesIfConfigsAreNull() throws Lot49Exception
Lot49Exception