Interface ClassInfoProvider
-
- All Known Implementing Classes:
DefaultClassInfoProvider,JdkClassInfoProvider
public interface ClassInfoProviderTells where a mock should be created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> java.lang.ClassLoaderclassLoader(java.lang.Class<T> toMock)Returns the class loader where the mock should be created.java.lang.StringclassPackage(java.lang.Class<?> toMock)Returns the package where the mock should be created.
-
-
-
Method Detail
-
classPackage
java.lang.String classPackage(java.lang.Class<?> toMock)
Returns the package where the mock should be created.- Parameters:
toMock- the class to mock- Returns:
- the package name
-
classLoader
<T> java.lang.ClassLoader classLoader(java.lang.Class<T> toMock)
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
-
-