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.java27 private final Object toInspect; field in DefaultMockingDetails
29 public DefaultMockingDetails(Object toInspect){ in DefaultMockingDetails() argument
30 this.toInspect = toInspect; in DefaultMockingDetails()
35 return MockUtil.isMock(toInspect); in isMock()
40 return MockUtil.isSpy(toInspect); in isSpy()
50 return MockUtil.getInvocationContainer(toInspect); in getInvocationContainer()
69 return new InvocationsPrinter().printInvocations(toInspect); in printInvocations()
79 return toInspect; in getMock()
84 return MockUtil.getMockHandler(toInspect); in mockHandler()
88 if (toInspect == null) { in assertGoodMock()
[all …]
/external/mockito/src/main/java/org/mockito/
DMockito.java1813 public static MockingDetails mockingDetails(Object toInspect) { in mockingDetails() argument
1814 return MOCKITO_CORE.mockingDetails(toInspect); in mockingDetails()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java202 public MockingDetails mockingDetails(Object toInspect) { in mockingDetails() argument
203 return new DefaultMockingDetails(toInspect); in mockingDetails()