@MockPolicy(value=SharedSetUp.class) @PrepareForTest(value=AdCache.class) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class AdCacheSpec_cancel extends Object
Modifier and Type | Field and Description |
---|---|
private AdCache |
adCache |
private AdCacheConfig |
adCacheConfig |
private int |
poolSize |
Constructor and Description |
---|
AdCacheSpec_cancel() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_returnsFalseIfTaskIsRunning() |
void |
negativeFlow_returnsTrueIfTaskIsNotRunningAndIsNotScheduled() |
void |
positiveFlow_returnsFalseIfTaskIsNotRunningButWasScheduledAndThenWasCanceled() |
void |
positiveFlow_returnsTrueIfTaskIsNotRunningButIsScheduledAndIsNotStartedYet() |
void |
setUp() |
private AdCacheConfig adCacheConfig
private AdCache adCache
private int poolSize
public void negativeFlow_returnsFalseIfTaskIsRunning()
public void negativeFlow_returnsTrueIfTaskIsNotRunningAndIsNotScheduled()
public void positiveFlow_returnsTrueIfTaskIsNotRunningButIsScheduledAndIsNotStartedYet()
public void positiveFlow_returnsFalseIfTaskIsNotRunningButWasScheduledAndThenWasCanceled()