|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.mock.GroovyMock
MockFor
public class GroovyMock
Constructor Summary | |
---|---|
GroovyMock()
Deprecated. |
Method Summary | |
---|---|
GroovyObject |
getInstance()
Deprecated. |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
Deprecated. Invokes the given method. |
static GroovyMock |
newInstance()
Deprecated. |
void |
verify()
Deprecated. |
Methods inherited from class groovy.lang.GroovyObjectSupport |
---|
getMetaClass, getProperty, setMetaClass, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyMock()
Method Detail |
---|
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
GroovyObject
invokeMethod
in interface GroovyObject
invokeMethod
in class GroovyObjectSupport
name
- the name of the method to callargs
- the arguments to use for the method call
public GroovyObject getInstance()
public static GroovyMock newInstance()
public void verify()
verify
in interface com.mockobjects.Verifiable
|
Copyright © 2003-2008 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |