Home
last modified time | relevance | path

Searched refs:answerVoid (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java359 public static <A> Answer<Void> answerVoid(VoidAnswer1<A> answer) { in answerVoid() method in AdditionalAnswers
388 public static <A, B> Answer<Void> answerVoid(VoidAnswer2<A, B> answer) { in answerVoid() method in AdditionalAnswers
419 public static <A, B, C> Answer<Void> answerVoid(VoidAnswer3<A, B, C> answer) { in answerVoid() method in AdditionalAnswers
452 public static <A, B, C, D> Answer<Void> answerVoid(VoidAnswer4<A, B, C, D> answer) { in answerVoid() method in AdditionalAnswers
488 public static <A, B, C, D, E> Answer<Void> answerVoid(VoidAnswer5<A, B, C, D, E> answer) { in answerVoid() method in AdditionalAnswers
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithAdditionalAnswersTest.java10 import static org.mockito.AdditionalAnswers.answerVoid;
105 .will(answerVoid(new VoidAnswer1<String>() { in will_execute_a_void_based_on_strongly_typed_one_parameter_function()
135 .will(answerVoid(new VoidAnswer2<String, Integer>() { in will_execute_a_void_based_on_strongly_typed_two_parameter_function()
168 .will(answerVoid(new VoidAnswer3<Integer, String, String>() { in will_execute_a_void_based_on_strongly_typed_three_parameter_function()
202 .will(answerVoid(new VoidAnswer4<Integer, String, String, boolean[]>() { in will_execute_a_void_based_on_strongly_typed_four_parameter_function()
236 .will(answerVoid(new VoidAnswer5<String, Integer, Integer, Integer, Integer>() { in will_execute_a_void_based_on_strongly_typed_five_parameter_function()