Package | Description |
---|---|
org.mockito.internal.creation |
Mock object creation.
|
org.mockito.internal.creation.settings | |
org.mockito.internal.listeners |
Modifier and Type | Class and Description |
---|---|
class |
MockSettingsImpl<T> |
Modifier and Type | Method and Description |
---|---|
private static <T> CreationSettings<T> |
MockSettingsImpl.validatedSettings(java.lang.Class<T> typeToMock,
CreationSettings<T> source) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<java.lang.Class<?>> |
MockSettingsImpl.prepareExtraInterfaces(CreationSettings settings) |
private static <T> CreationSettings<T> |
MockSettingsImpl.validatedSettings(java.lang.Class<T> typeToMock,
CreationSettings<T> source) |
Modifier and Type | Method and Description |
---|---|
CreationSettings<T> |
CreationSettings.setExtraInterfaces(java.util.Set<java.lang.Class<?>> extraInterfaces) |
CreationSettings<T> |
CreationSettings.setMockName(MockName mockName) |
CreationSettings<T> |
CreationSettings.setSerializableMode(SerializableMode serializableMode) |
CreationSettings<T> |
CreationSettings.setTypeToMock(java.lang.Class<T> typeToMock) |
Constructor and Description |
---|
CreationSettings(CreationSettings copy) |
Modifier and Type | Method and Description |
---|---|
static void |
StubbingLookupNotifier.notifyStubbedAnswerLookup(Invocation invocation,
Stubbing stubbingFound,
java.util.Collection<Stubbing> allStubbings,
CreationSettings creationSettings) |