@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
Exception
public void returnsFalseIfUserInfoCheckWasFailed() throws Exception
Exception
public void returnsFalseIfUserInfoCheckWillBePassed() throws Exception
Exception
public void returnsTrueIfUserInfoCheckWillBeFailed() throws Exception
Exception
public void returnsTrueIfUserInfoCheckWillThrowException() throws Exception
Exception
public void returnsFalseIfIntegralInfoCheckWasFailed() throws Exception
Exception
public void returnsFalseIfIntegralInfoCheckWillBePassed() throws Exception
Exception
public void returnsTrueIfIntegralInfoCheckWillBeFailed() throws Exception
Exception
public void returnsFalseIfExperimentInfoCheckWasFailed() throws Exception
Exception
public void returnsFalseIfExperimentInfoCheckWillBePassed() throws Exception
Exception
public void returnsTrueIfExperimentInfoCheckWillBeFailed() throws Exception
Exception
public void returnsTrueIfExperimentInfoCheckWillThrowException() throws Exception
Exception
public void returnsFalseIfFrequencyCapInfoCheckWasFailed() throws Exception
Exception
public void returnsFalseIfFrequencyCapInfoCheckWillBePassed() throws Exception
Exception
public void returnsTrueIfFrequencyCapInfoCheckWillBeFailed() throws Exception
Exception
public void returnsTrueIfFrequencyCapInfoCheckWillThrowException() throws Exception
Exception
private void commonAssertions(boolean result, boolean expectedResult)