Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.internal.util
Class MockCreationValidator

    java.lang.Object
      org.mockito.internal.util.MockCreationValidator

    public class MockCreationValidator

extends java.lang.Object

Constructor Summary
`MockCreationValidator()`

Method Summary
`boolean` | `isTypeMockable(java.lang.Class<?> clz)`
`void` | `validateDelegatedInstance(java.lang.Class classToMock, java.lang.Object delegatedInstance)`
`void` | `validateExtraInterfaces(java.lang.Class classToMock, java.util.Collection<java.lang.Class> extraInterfaces)`
`void` | `validateMockedType(java.lang.Class classToMock, java.lang.Object spiedInstance)`
`void` | `validateType(java.lang.Class classToMock)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MockCreationValidator

    public MockCreationValidator()

Method Detail

### isTypeMockable

    public boolean isTypeMockable(java.lang.Class<?> clz)

### validateType

    public void validateType(java.lang.Class classToMock)

### validateExtraInterfaces

    public void validateExtraInterfaces(java.lang.Class classToMock,
                                        java.util.Collection<java.lang.Class> extraInterfaces)

### validateMockedType

    public void validateMockedType(java.lang.Class classToMock,
                                   java.lang.Object spiedInstance)

### validateDelegatedInstance

    public void validateDelegatedInstance(java.lang.Class classToMock,
                                          java.lang.Object delegatedInstance)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD