public class StepsForSynchronizingOnFunction<T,TReturn> extends java.lang.Object implements SynchronizationAssertionSteps<T>
| Constructor and Description |
|---|
StepsForSynchronizingOnFunction(java.util.function.Function<T,TReturn> methodCallToVerify,
TReturn retVal) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertMethodResult(T wrappedInterfaceMock) |
void |
callMethodOnProxy(T synchronizedProxy) |
void |
prepareMockForCall(T wrappedInterfaceMock,
T synchronizedProxy,
LockAssertions lockAssertions) |
public void assertMethodResult(T wrappedInterfaceMock)
assertMethodResult in interface SynchronizationAssertionSteps<T>public void prepareMockForCall(T wrappedInterfaceMock, T synchronizedProxy, LockAssertions lockAssertions)
prepareMockForCall in interface SynchronizationAssertionSteps<T>public void callMethodOnProxy(T synchronizedProxy)
callMethodOnProxy in interface SynchronizationAssertionSteps<T>