|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expects demanded call cardinalities to match demanded ranges. The calls are allowed to be out of the recorded sequence. If a method is demanded multiple times, the ranges are filled by order of recording.
Field Summary | |
---|---|
List |
fCalls
|
Demand |
fDemand
|
Constructor Summary | |
LooseExpectation(Demand demand)
|
Method Summary | |
---|---|
boolean |
isEligible(String name, int i)
|
Closure |
match(String name)
Match the requested method name against eligible demands. |
void |
verify()
verify all calls are in expected range |
Constructor Detail |
---|
public LooseExpectation(Demand demand)
Method Detail |
---|
boolean isEligible(String name, int i)
Closure match(String name)
void verify()