Home
last modified time | relevance | path

Searched refs:RETURNS_DEFAULTS (Results 1 – 7 of 7) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DCallsRealMethods.java13 import static org.mockito.Answers.RETURNS_DEFAULTS;
41 return RETURNS_DEFAULTS.answer(invocation); in answer()
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DCallsRealMethodsTest.java22 import static org.mockito.Mockito.RETURNS_DEFAULTS;
30 …assertThat(new CallsRealMethods().answer(abstractMethod)).isEqualTo(RETURNS_DEFAULTS.answer(abstra… in should_delegate_to_returns_default_when_abstract_method()
/external/mockito/src/main/java/org/mockito/
DMockito.java1551 public static final Answer<Object> RETURNS_DEFAULTS = Answers.RETURNS_DEFAULTS; field in Mockito
1826 .defaultAnswer(RETURNS_DEFAULTS)); in mock()
2945 return new MockSettingsImpl().defaultAnswer(RETURNS_DEFAULTS); in withSettings()
DMock.java70 Answers answer() default Answers.RETURNS_DEFAULTS; in answer()
DAnswers.java35 RETURNS_DEFAULTS(new GloballyConfiguredAnswer()), enumConstant
/external/mockito/src/test/java/org/mockito/
DMockitoTest.java62 assertThat(Mockito.RETURNS_DEFAULTS).isEqualTo(settings.getDefaultAnswer()); in shouldStartingMockSettingsContainDefaultBehavior()
/external/mockito/src/test/java/org/mockitousage/annotation/
DAnnotationsTest.java78 @Mock(answer = Answers.RETURNS_DEFAULTS) IMethods returningDefaults;