@PrepareForTest(value={LogUtils.class,ServiceRunner.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class ExchangeAdapterSpec_parseUserId extends Object
Modifier and Type | Field and Description |
---|---|
(package private) ExchangeAdapter<OpenRtbRequest,OpenRtbResponse> |
ea |
private ExchangesConfig |
exchangesConfigMock |
private PubmaticConfig |
pmCfg |
private ServiceRunner |
serviceRunnerSimpleMock |
Constructor and Description |
---|
ExchangeAdapterSpec_parseUserId() |
private ServiceRunner serviceRunnerSimpleMock
private ExchangesConfig exchangesConfigMock
private PubmaticConfig pmCfg
public void negativeFlow_userIdIsNull()
public void negativeFlow_wrongFormatOfUserId()
public void negativeFlow_idEqualsCOOKIEMONSTER_V2_()
public void negativeFlow_idStartsWithCOOKIEMONSTER_V2_()
public void positiveFlow_32HexCharacterModUid()
public void positiveFlow_sholudSetModUidAndUserId()
public void positiveFlow_userIdStartsAndEndsWithB64()
public void positiveFlow_userIdStartsWithHEX0()
public void positiveFlow_userIdStartsWithHEX1()
public void positiveFlow_userIdStartsWithodspEq()
public void positiveFlow_userIdStartsWithAAAAEq()
public void positiveFlow_userIdStartsWithXX()
public void positiveFlow_userIdStartsWithB65()
public void negativeFlow_notParsedIntegerIdStartsWithXX()
public void negativeFlow_notParsedIntegerIdStartsWithXX_shouldSetForceCookieResetToTrue()
public void negativeFlow_notParsedIntegerIdStartsWithXX_shouldSetForceCookieResyncToTrue()
public void postiveFlow_notParsedIntegerIdStartsWithXX_idLengthBetween22And25()
public void negativeFlow_notParsedIntegerIdStartsWithProc22()
public void negativeFlow_notParsedIntegerIdStartsWithProc22_shouldSetForceCookieResetToTrue()
public void negativeFlow_notParsedIntegerIdStartsWithProc22_shouldSetForceCookieResyncToTrue()
public void postiveFlow_notParsedIntegerIdStartsWithProc22_idLengthBetween22And25()
public void negativeFlow_notParsedIntegerIdStartsWithOther()
public void postiveFlow_notParsedIntegerIdStartsWithOther_idLengthBetween22And25()
public void negativeFlow_notParsedIntegerIdStartsWithOther_shouldSetForceCookieResetToTrue()
public void negativeFlow_notParsedIntegerIdStartsWithOther_shouldSetForceCookieResyncToTrue()