|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object groovy.mock.interceptor.StrictExpectation
class StrictExpectation
Expects demanded call cardinalities to match demanded ranges in the sequence of recording.
Property Summary | |
---|---|
int |
fCallSpecIdx
|
java.util.List |
fCalls
|
Demand |
fDemand
|
Constructor Summary | |
StrictExpectation(Demand demand)
|
Method Summary | |
---|---|
Closure
|
match(java.lang.String name)
Match the requested method name against eligible demands. |
void
|
verify()
verify all calls are in expected range |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
int fCallSpecIdx
java.util.List fCalls
Demand fDemand
Constructor Detail |
---|
StrictExpectation(Demand demand)
Method Detail |
---|
Closure match(java.lang.String name)
void verify()
Groovy Documentation