Searched refs:getDefaultAnswer (Results 1 – 12 of 12) sorted by relevance
41 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in MockitoConfiguration43 return super.getDefaultAnswer(); in getDefaultAnswer()
70 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in GlobalConfiguration71 return GLOBAL_CONFIGURATION.get().getDefaultAnswer(); in getDefaultAnswer()
45 Answer<Object> getDefaultAnswer(); in getDefaultAnswer() method
20 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in DefaultMockitoConfiguration
24 return new GlobalConfiguration().getDefaultAnswer().answer(invocation); in answer()
43 Answer<?> getDefaultAnswer(); in getDefaultAnswer() method
62 assertThat(Mockito.RETURNS_DEFAULTS).isEqualTo(settings.getDefaultAnswer()); in shouldStartingMockSettingsContainDefaultBehavior()
103 Object ret = mockSettings.getDefaultAnswer().answer(invocation); in handle()
70 … return isMock(mock) && getMockSettings(mock).getDefaultAnswer() == Mockito.CALLS_REAL_METHODS; in isSpy()
92 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in CreationSettings
83 given(mockSettings.getDefaultAnswer()).willReturn(new Returns(AWrongType.WRONG_TYPE)); in should_report_bogus_default_answer()
108 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer() method in MockSettingsImpl