Home
last modified time | relevance | path

Searched refs:creationSettings (Results 1 – 5 of 5) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMakerTest.java26 CreationSettings<Object> creationSettings = new CreationSettings<Object>(); in should_delegate_call() local
27 MockHandlerImpl<Object> handler = new MockHandlerImpl<Object>(creationSettings); in should_delegate_call()
29 mockMaker.createMockType(creationSettings); in should_delegate_call()
30 mockMaker.createMock(creationSettings, handler); in should_delegate_call()
33 mockMaker.resetMock(this, handler, creationSettings); in should_delegate_call()
35 verify(delegate).createMock(creationSettings, handler); in should_delegate_call()
36 verify(delegate).createMockType(creationSettings); in should_delegate_call()
39 verify(delegate).resetMock(this, handler, creationSettings); in should_delegate_call()
/external/mockito/src/test/java/org/mockito/internal/listeners/
DStubbingLookupNotifierTest.java30 CreationSettings creationSettings = mock(CreationSettings.class); field in StubbingLookupNotifierTest
35 doReturn(emptyList()).when(creationSettings).getStubbingLookupListeners(); in does_not_do_anything_when_list_is_empty()
38 notifyStubbedAnswerLookup(invocation, stubbingFound, allStubbings, creationSettings); in does_not_do_anything_when_list_is_empty()
49 doReturn(listeners).when(creationSettings).getStubbingLookupListeners(); in call_on_stubbing_lookup_method_of_listeners_with_correct_event()
52 notifyStubbedAnswerLookup(invocation, stubbingFound, allStubbings, creationSettings); in call_on_stubbing_lookup_method_of_listeners_with_correct_event()
66 creationSettings == argument.getMockSettings(); in matches()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DStubbingLookupNotifier.java18 … Collection<Stubbing> allStubbings, CreationSettings creationSettings) { in notifyStubbedAnswerLookup() argument
19 List<StubbingLookupListener> listeners = creationSettings.getStubbingLookupListeners(); in notifyStubbedAnswerLookup()
23 … StubbingLookupEvent event = new Event(invocation, stubbingFound, allStubbings, creationSettings); in notifyStubbedAnswerLookup()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMaker.java29 public <T> Class<? extends T> createMockType(MockCreationSettings<T> creationSettings) { in createMockType() argument
30 return defaultByteBuddyMockMaker.createMockType(creationSettings); in createMockType()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java68 MockCreationSettings<T> creationSettings = impl.build(typeToMock); in mock() local
69 T mock = createMock(creationSettings); in mock()
70 mockingProgress().mockingStarted(mock, creationSettings); in mock()