Interface ClassInfoProvider
- All Known Implementing Classes:
DefaultClassInfoProvider,JdkClassInfoProvider
public interface ClassInfoProvider
Tells where a mock should be created.
-
Method Summary
Modifier and TypeMethodDescription<T> ClassLoaderclassLoader(Class<T> toMock) Returns the class loader where the mock should be created.classPackage(Class<?> toMock) Returns the package where the mock should be created.
-
Method Details
-
classPackage
Returns the package where the mock should be created.- Parameters:
toMock- the class to mock- Returns:
- the package name
-
classLoader
Returns the class loader where the mock should be created.- Type Parameters:
T- type of the class to mock- Parameters:
toMock- the class to mock- Returns:
- the class loader where the mock should be created
-