Home
last modified time | relevance | path

Searched refs:toInspect (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/
DDefaultMockingDetails.java24 private final Object toInspect; field in DefaultMockingDetails
26 public DefaultMockingDetails(Object toInspect){ in DefaultMockingDetails() argument
27 this.toInspect = toInspect; in DefaultMockingDetails()
32 return MockUtil.isMock(toInspect); in isMock()
37 return MockUtil.isSpy(toInspect); in isSpy()
47 return MockUtil.getInvocationContainer(toInspect); in getInvocationContainer()
63 return new InvocationsPrinter().printInvocations(toInspect); in printInvocations()
73 return toInspect; in getMock()
78 return MockUtil.getMockHandler(toInspect); in mockHandler()
82 if (toInspect == null) { in assertGoodMock()
[all …]
/external/mockito/src/main/java/org/mockito/
DMockito.java1852 public static MockingDetails mockingDetails(Object toInspect) { in mockingDetails() argument
1853 return MOCKITO_CORE.mockingDetails(toInspect); in mockingDetails()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java212 public MockingDetails mockingDetails(Object toInspect) { in mockingDetails() argument
213 return new DefaultMockingDetails(toInspect); in mockingDetails()