org.limewire.util
Class AssignParameterAction<T>
java.lang.Object
org.jmock.lib.action.CustomAction
org.limewire.util.AssignParameterAction<T>
- All Implemented Interfaces:
- org.hamcrest.SelfDescribing, org.jmock.api.Action, org.jmock.api.Invokable
public class AssignParameterAction<T>
- extends org.jmock.lib.action.CustomAction
JMock action that allows assignment of the ith parameter of an invocation
to an atomic reference.
|
Method Summary |
Object |
invoke(org.jmock.api.Invocation invocation)
|
| Methods inherited from class org.jmock.lib.action.CustomAction |
describeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignParameterAction
public AssignParameterAction(AtomicReference<T> reference,
int param)
invoke
public Object invoke(org.jmock.api.Invocation invocation)
throws Throwable
- Throws:
Throwable
Copyright © 2009. All Rights Reserved.