org.easymock.internal

Class Invocation

public class Invocation extends Object implements Serializable

Constructor Summary
Invocation(Object mock, Method method, Object[] args)
Method Summary
voidaddCapture(Captures<Object> capture, Object value)
voidclearCaptures()
Object[]getArguments()
MethodgetMethod()
ObjectgetMock()
StringgetMockAndMethodName()
static booleanisJavaIdentifier(String mockName)
voidvalidateCaptures()

Constructor Detail

Invocation

public Invocation(Object mock, Method method, Object[] args)

Method Detail

addCapture

public void addCapture(Captures<Object> capture, Object value)

clearCaptures

public void clearCaptures()

getArguments

public Object[] getArguments()

getMethod

public Method getMethod()

getMock

public Object getMock()

getMockAndMethodName

public String getMockAndMethodName()

isJavaIdentifier

public static boolean isJavaIdentifier(String mockName)

validateCaptures

public void validateCaptures()
Copyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>