public class MockerFacade extends Object
| 构造器和说明 |
|---|
MockerFacade() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Class |
getComponentClass(Type componentType,
Type... context) |
static <T> T |
mock(GenericType<T> genericType) |
static <T> T |
mock(GenericType<T> genericType,
Class context) |
static <T> T |
mock(Method method) |
static <T> T |
mock(Method method,
Class... context) |
static <T> T |
mock(Type type) |
static <T> T |
mock(Type type,
Class... context) |
public static <T> T mock(GenericType<T> genericType)
public static <T> T mock(GenericType<T> genericType, Class context)
public static <T> T mock(Type type)
public static <T> T mock(Method method)
Copyright © 2018. All rights reserved.