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 MockUtil

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

    public class MockUtil

extends java.lang.Object

Constructor Summary
`MockUtil()`

Method Summary
`
`<T> T`
` | `createMock(MockCreationSettings<T> settings)`
`
`<T> InternalMockHandler<T>`
` | `getMockHandler(T mock)`
`MockName` | `getMockName(java.lang.Object mock)`
`boolean` | `isMock(java.lang.Object mock)`
`boolean` | `isSpy(java.lang.Object mock)`
`void` | `maybeRedefineMockName(java.lang.Object mock, java.lang.String newName)`
`
`<T> void`
` | `resetMock(T mock)`

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

Constructor Detail

### MockUtil

    public MockUtil()

Method Detail

### createMock

    public <T> T createMock(MockCreationSettings<T> settings)

### resetMock

    public <T> void resetMock(T mock)

### getMockHandler

    public <T> InternalMockHandler<T> getMockHandler(T mock)

### isMock

    public boolean isMock(java.lang.Object mock)

### isSpy

    public boolean isSpy(java.lang.Object mock)

### getMockName

    public MockName getMockName(java.lang.Object mock)

### maybeRedefineMockName

    public void maybeRedefineMockName(java.lang.Object mock,
                                      java.lang.String newName)

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