com.atlassian.confluence.util.test
Class EchoAnswer<T>
java.lang.Object
com.atlassian.confluence.util.test.EchoAnswer<T>
- All Implemented Interfaces:
- org.mockito.stubbing.Answer<T>
Deprecated. since 5.6.1, use AdditionalAnswers.returnsArgAt(int)
instead.
@Deprecated
public class EchoAnswer<T>
- extends Object
- implements org.mockito.stubbing.Answer<T>
Method Summary |
T |
answer(org.mockito.invocation.InvocationOnMock invocation)
Deprecated. |
static
|
echo(Class<T> type)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoAnswer
public EchoAnswer(Class<T> type)
- Deprecated.
echo
public static <T> EchoAnswer<T> echo(Class<T> type)
- Deprecated.
answer
public T answer(org.mockito.invocation.InvocationOnMock invocation)
throws Throwable
- Deprecated.
- Specified by:
answer
in interface org.mockito.stubbing.Answer<T>
- Throws:
Throwable
Copyright © 2003–2015 Atlassian. All rights reserved.