Searched refs:mockInstance (Results 1 – 3 of 3) sorted by relevance
29 private final Object mockInstance; field in HashCodeAndEqualsMockWrapper31 public HashCodeAndEqualsMockWrapper(Object mockInstance) { in HashCodeAndEqualsMockWrapper() argument32 this.mockInstance = mockInstance; in HashCodeAndEqualsMockWrapper()36 return mockInstance; in get()46 return mockInstance == that.mockInstance; in equals()51 return System.identityHashCode(mockInstance); in hashCode()60 …"mockInstance=" + (MockUtil.isMock(mockInstance) ? MockUtil.getMockName(mockInstance) : typeInstan… in toString()65 …return mockInstance.getClass().getSimpleName() + "(" + System.identityHashCode(mockInstance) + ")"; in typeInstanceString()
45 T mockInstance = null; in createMock() local47 mockInstance = instantiator.newInstance(mockedProxyType); in createMock()48 MockAccess mockAccess = (MockAccess) mockInstance; in createMock()51 return ensureMockIsAssignableToMockedType(settings, mockInstance); in createMock()57 " proxy instance class : " + describeClass(mockInstance), in createMock()
59 Object mockInstance = preparedMock(fieldReader.read(), field); in scan() local60 if (mockInstance != null) { in scan()61 mocks.add(mockInstance); in scan()