public class DummyObjectUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DummyObjectUtil.DummyObjectInvocationHandler
Invocation handler for the dummy proxy object that will return default values for every invocation.
|
| Constructor and Description |
|---|
DummyObjectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
createDummy(Class<T> type)
Creates the dummy proxy object.
|
static <T> T |
createDummy(Class<T> type,
MockBehavior mockBehaviour) |
public static <T> T createDummy(Class<T> type)
type - The type for the proxy, not nullpublic static <T> T createDummy(Class<T> type, MockBehavior mockBehaviour)
Copyright © 2016. All Rights Reserved.