构造器和说明 |
---|
AbstractTypeBasedMocker() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract Object |
$mock(T type,
MockContext context) |
protected abstract Class<?> |
getTypeClass() |
protected static Object |
mockByType(Type type) |
protected abstract Class<?> getTypeClass()
protected static final Object mockByType(Type type) throws UnsupportedTypeException, IllegalAccessException, IllegalArgumentException, UnableMockException
protected abstract Object $mock(T type, MockContext context) throws IllegalAccessException, IllegalArgumentException, UnsupportedTypeException, UnableMockException
Copyright © 2017. All rights reserved.