Searched refs:MockReference (Results 1 – 7 of 7) sorted by relevance
44 final MockReference reference = new MockReference(frq = new FinalizableReferenceQueue()); in testFinalizeReferentCalled()55 static class MockReference extends FinalizableWeakReference<Object> { class in FinalizableReferenceQueueTest59 MockReference(FinalizableReferenceQueue frq) { in MockReference() method in FinalizableReferenceQueueTest.MockReference
44 final MockReference reference = new MockReference(frq = new FinalizableReferenceQueue()); in testFinalizeReferentCalled()54 static class MockReference extends FinalizableWeakReference<Object> { class in FinalizableReferenceQueueTest58 MockReference(FinalizableReferenceQueue frq) { in MockReference() method in FinalizableReferenceQueueTest.MockReference
7 import org.mockito.internal.invocation.mockref.MockReference;23 private final MockReference<Object> mockRef;36 public InterceptedInvocation(MockReference<Object> mockRef, in InterceptedInvocation()
14 public interface MockReference<T> extends Serializable { interface
10 public class MockStrongReference<T> implements MockReference<T> {
15 public class MockWeakReference<T> implements MockReference<T> {
19 import org.mockito.internal.invocation.mockref.MockReference;179 private final MockReference<Object> instanceRef;