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