public class MockMethodAdvice extends MockMethodDispatcher
| Modifier and Type | Class and Description |
|---|---|
static class |
MockMethodAdvice.ForReadObject |
| Constructor and Description |
|---|
MockMethodAdvice(WeakConcurrentMap<Object,MockMethodInterceptor> interceptors,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
Callable<?> |
handle(Object instance,
Method origin,
Object[] arguments) |
boolean |
isMock(Object instance) |
boolean |
isMocked(Object instance) |
boolean |
isOverridden(Object instance,
Method origin) |
get, setpublic MockMethodAdvice(WeakConcurrentMap<Object,MockMethodInterceptor> interceptors, String identifier)
public Callable<?> handle(Object instance, Method origin, Object[] arguments) throws Throwable
handle in class MockMethodDispatcherThrowablepublic boolean isMock(Object instance)
isMock in class MockMethodDispatcherpublic boolean isMocked(Object instance)
isMocked in class MockMethodDispatcherpublic boolean isOverridden(Object instance, Method origin)
isOverridden in class MockMethodDispatcherCopyright © 2024. All rights reserved.