@PrepareForTest(value={BidCandidateManager.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class BidCandidateSpec_passed 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_passed() |
private BidCandidateManager bidCandidateManagerMock
private Ad adMock
private Bid bidMock
private BidCandidate bidCandidate
private BidCandidateSpec_SHARED shared
public void returnsTrueIfDoneAndPassedIsTrue()
public void returnsFalseIfDoneAndFailedIsTrue()
public void returnsTrueIfNeedCanBid2ReturnsFalse()
public void returnsTrueIfAllChecksWerePassed() throws Exception
Exception
public void returnsFalseIfUserInfoCheckWasFailed() throws Exception
Exception
public void returnsTrueIfUserInfoCheckWillBePassed() throws Exception
Exception
public void returnsFalseIfUserInfoCheckWillBeFailed() throws Exception
Exception
public void returnsFalseIfUserInfoCheckWillThrowException() throws Exception
Exception
public void returnsFalseIfIntegralInfoCheckWasFailed() throws Exception
Exception
public void returnsTrueIfIntegralInfoCheckWillBePassed() throws Exception
Exception
public void returnsFalseIfIntegralInfoCheckWillBeFailed() throws Exception
Exception
public void returnsFalseIfExperimentInfoCheckWasFailed() throws Exception
Exception
public void returnsTrueIfExperimentInfoCheckWillBePassed() throws Exception
Exception
public void returnsFalseIfExperimentInfoCheckWillBeFailed() throws Exception
Exception
public void returnsFalseIfExperimentInfoCheckWillThrowException() throws Exception
Exception
public void returnsFalseIfFrequencyCapInfoCheckWasFailed() throws Exception
Exception
public void returnsTrueIfFrequencyCapInfoCheckWillBePassed() throws Exception
Exception
public void returnsFalseIfFrequencyCapInfoCheckWillBeFailed() throws Exception
Exception
public void returnsFalseIfFrequencyCapInfoCheckWillThrowException() throws Exception
Exception
private void commonAssertions(boolean result, boolean expectedResult)