org.test4j.tools.reflector.imposteriser
接口 Invokable

所有已知实现类:
FieldProxy

public interface Invokable

An object that can receive an org.test4j.reflector.imposteriser.jmock.api.Invocation.

作者:
npryce

方法摘要
 Object invoke(Invocation invocation)
          Performs an action in response to an invocation.
 

方法详细信息

invoke

Object invoke(Invocation invocation)
              throws Throwable
Performs an action in response to an invocation.

参数:
invocation - The invocation to perform.
返回:
The result of the invocation, if not throwing an exception. Must return null if the invoked method has a void return type.
抛出:
Throwable - An exception to be thrown to the caller, if not returning a value. Any checked exception thrown must be in the throws list of the invoked method.


Copyright © 2013. All rights reserved.