@PrepareForTest(value={BidCandidateManager.class,LogUtils.class})
@PowerMockIgnore(value={"javax.crypto.*","javax.management.*"})
public class BidCandidateSpec_failed
extends Object
| Modifier and Type | Field and Description |
|---|---|
private Ad |
adMock |
private BidCandidate |
bidCandidate |
private BidCandidateManager |
bidCandidateManagerMock |
private Bid |
bidMock |
private BidCandidateSpec_SHARED |
shared |
| Constructor and Description |
|---|
BidCandidateSpec_failed() |
private BidCandidateManager bidCandidateManagerMock
private Ad adMock
private Bid bidMock
private BidCandidate bidCandidate
private BidCandidateSpec_SHARED shared
public void returnsFalseIfDoneAndPassedIsTrue()
public void returnsTrueIfDoneAndFailedIsTrue()
public void returnsFalseIfNeedCanBid2ReturnsFalse()
public void returnsFalseIfAllChecksWerePassed()
throws Exception
Exceptionpublic void returnsFalseIfUserInfoCheckWasFailed()
throws Exception
Exceptionpublic void returnsFalseIfUserInfoCheckWillBePassed()
throws Exception
Exceptionpublic void returnsTrueIfUserInfoCheckWillBeFailed()
throws Exception
Exceptionpublic void returnsTrueIfUserInfoCheckWillThrowException()
throws Exception
Exceptionpublic void returnsFalseIfIntegralInfoCheckWasFailed()
throws Exception
Exceptionpublic void returnsFalseIfIntegralInfoCheckWillBePassed()
throws Exception
Exceptionpublic void returnsTrueIfIntegralInfoCheckWillBeFailed()
throws Exception
Exceptionpublic void returnsFalseIfExperimentInfoCheckWasFailed()
throws Exception
Exceptionpublic void returnsFalseIfExperimentInfoCheckWillBePassed()
throws Exception
Exceptionpublic void returnsTrueIfExperimentInfoCheckWillBeFailed()
throws Exception
Exceptionpublic void returnsTrueIfExperimentInfoCheckWillThrowException()
throws Exception
Exceptionpublic void returnsFalseIfFrequencyCapInfoCheckWasFailed()
throws Exception
Exceptionpublic void returnsFalseIfFrequencyCapInfoCheckWillBePassed()
throws Exception
Exceptionpublic void returnsTrueIfFrequencyCapInfoCheckWillBeFailed()
throws Exception
Exceptionpublic void returnsTrueIfFrequencyCapInfoCheckWillThrowException()
throws Exception
Exceptionprivate void commonAssertions(boolean result,
boolean expectedResult)