public class DefaultMockingDetails extends Object implements MockingDetails
MockUtil
.Constructor and Description |
---|
DefaultMockingDetails(Object toInspect,
MockUtil delegate) |
Modifier and Type | Method and Description |
---|---|
Collection<Invocation> |
getInvocations()
Provides a collection of methods indicating the invocations of the object
|
boolean |
isMock()
Find out whether the object is a mock.
|
boolean |
isSpy()
Find out whether the object is a spy.
|
public boolean isMock()
isMock
in interface MockingDetails
public boolean isSpy()
isSpy
in interface MockingDetails
public Collection<Invocation> getInvocations()
MockingDetails
getInvocations
in interface MockingDetails
Mockito, MIT License