程序包 org.coodex.mock
接口 MockerProvider
public interface MockerProvider
-
字段概要
字段 -
方法概要
修饰符和类型方法说明default <T> Tmock(Class<T> type, Annotation... annotations) mock(Type type, Type context, Annotation... annotations)
-
字段详细资料
-
ASSIGNATIONS_PACKAGE
- 另请参阅:
-
-
方法详细资料
-
mock
- 类型参数:
T- 类型泛型- 参数:
type- 模拟的数据类型annotations- 模拟配置- 返回:
- 模拟值
-
mock
- 参数:
type- 要模拟类型的type,需要是具体的,不能有TypeVariablecontext- TypeVariable检索上下文annotations- 模拟配置- 返回:
- 模拟值
-