Home
last modified time | relevance | path

Searched refs:getDefaultAnswer (Results 1 – 12 of 12) sorted by relevance

/external/mockito/src/test/java/org/mockito/configuration/
DMockitoConfiguration.java41 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in MockitoConfiguration
43 return super.getDefaultAnswer(); in getDefaultAnswer()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DGlobalConfiguration.java70 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in GlobalConfiguration
71 return GLOBAL_CONFIGURATION.get().getDefaultAnswer(); in getDefaultAnswer()
/external/mockito/src/main/java/org/mockito/configuration/
DIMockitoConfiguration.java45 Answer<Object> getDefaultAnswer(); in getDefaultAnswer() method
DDefaultMockitoConfiguration.java20 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in DefaultMockitoConfiguration
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DGloballyConfiguredAnswer.java24 return new GlobalConfiguration().getDefaultAnswer().answer(invocation); in answer()
/external/mockito/src/main/java/org/mockito/mock/
DMockCreationSettings.java43 Answer<?> getDefaultAnswer(); in getDefaultAnswer() method
/external/mockito/src/test/java/org/mockito/
DMockitoTest.java62 assertThat(Mockito.RETURNS_DEFAULTS).isEqualTo(settings.getDefaultAnswer()); in shouldStartingMockSettingsContainDefaultBehavior()
/external/mockito/src/main/java/org/mockito/internal/handler/
DMockHandlerImpl.java103 Object ret = mockSettings.getDefaultAnswer().answer(invocation); in handle()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java70 … return isMock(mock) && getMockSettings(mock).getDefaultAnswer() == Mockito.CALLS_REAL_METHODS; in isSpy()
/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java92 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in CreationSettings
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java83 given(mockSettings.getDefaultAnswer()).willReturn(new Returns(AWrongType.WRONG_TYPE)); in should_report_bogus_default_answer()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java108 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in MockSettingsImpl