Searched refs:RETURNS_DEFAULTS (Results 1 – 7 of 7) sorted by relevance
13 import static org.mockito.Answers.RETURNS_DEFAULTS;41 return RETURNS_DEFAULTS.answer(invocation); in answer()
22 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()
1551 public static final Answer<Object> RETURNS_DEFAULTS = Answers.RETURNS_DEFAULTS; field in Mockito1826 .defaultAnswer(RETURNS_DEFAULTS)); in mock()2945 return new MockSettingsImpl().defaultAnswer(RETURNS_DEFAULTS); in withSettings()
70 Answers answer() default Answers.RETURNS_DEFAULTS; in answer()
35 RETURNS_DEFAULTS(new GloballyConfiguredAnswer()), enumConstant
62 assertThat(Mockito.RETURNS_DEFAULTS).isEqualTo(settings.getDefaultAnswer()); in shouldStartingMockSettingsContainDefaultBehavior()
78 @Mock(answer = Answers.RETURNS_DEFAULTS) IMethods returningDefaults;