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
Interface MockingDetails

All Known Implementing Classes:
  DefaultMockingDetails

    @Incubating
    public interface MockingDetails

Provides mocking information. For example, you can identify whether a particular object is either a mock or a spy.

Since:
  1.9.5

Method Summary
`boolean` | `isMock()` Informs if the object is a mock.
`boolean` | `isSpy()` Informs if the object is a spy.

Method Detail

### isMock

    boolean isMock()

  Informs if the object is a mock.

  Returns:
    true if the object is a mock or a spy.
  Since:
    1.9.5

### isSpy

    boolean isSpy()

  Informs if the object is a spy.

  Returns:
    true if the object is a spy.
  Since:
    1.9.5

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