groovy.mock
Class GroovyMock

java.lang.Object
  extended bygroovy.lang.GroovyObjectSupport
      extended bygroovy.mock.GroovyMock
All Implemented Interfaces:
GroovyObject, com.mockobjects.Verifiable

public class GroovyMock
extends GroovyObjectSupport
implements com.mockobjects.Verifiable

Version:
$Revision: 2910 $
Author:
Joe Walnes, Chris Stevenson

Constructor Summary
GroovyMock()
           
 
Method Summary
 GroovyObject getInstance()
           
 Object invokeMethod(String name, Object args)
          Invokes the given method
static GroovyMock newInstance()
           
 void verify()
           
 
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

GroovyMock

public GroovyMock()
Method Detail

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Description copied from interface: GroovyObject
Invokes the given method

Specified by:
invokeMethod in interface GroovyObject
Overrides:
invokeMethod in class GroovyObjectSupport

getInstance

public GroovyObject getInstance()

newInstance

public static GroovyMock newInstance()

verify

public void verify()
Specified by:
verify in interface com.mockobjects.Verifiable


Copyright © 2003-2007 The Codehaus. All Rights Reserved.